Text Compare
Produced: 7/19/2015 1:52:34 PM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template08\0718-1345\wireshark-bug-37172-37171\sanity\dumpcap.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template08\0718-1345\wireshark-bug-37172-37171\000000\dumpcap.c  
1 typedef unsigned int size_t; = 1 typedef unsigned int size_t;
2 typedef unsigned char __u_char;   2 typedef unsigned char __u_char;
3 typedef unsigned short __u_short;   3 typedef unsigned short __u_short;
4 typedef unsigned int __u_int;   4 typedef unsigned int __u_int;
5 typedef unsigned long __u_long;   5 typedef unsigned long __u_long;
6 typedef signed char __int8_t;   6 typedef signed char __int8_t;
7 typedef unsigned char __uint8_t;   7 typedef unsigned char __uint8_t;
8 typedef short __int16_t;   8 typedef short __int16_t;
9 typedef unsigned short __uint16_t;   9 typedef unsigned short __uint16_t;
10 typedef int __int32_t;   10 typedef int __int32_t;
11 typedef unsigned int __uint32_t;   11 typedef unsigned int __uint32_t;
12 typedef long long __int64_t;   12 typedef long long __int64_t;
13 typedef unsigned long long __uint64_t;   13 typedef unsigned long long __uint64_t;
14 typedef long long __quad_t;   14 typedef long long __quad_t;
15 typedef unsigned long long __u_quad_t;   15 typedef unsigned long long __u_quad_t;
16 typedef __u_quad_t __dev_t;   16 typedef __u_quad_t __dev_t;
17 typedef unsigned int __uid_t;   17 typedef unsigned int __uid_t;
18 typedef unsigned int __gid_t;   18 typedef unsigned int __gid_t;
19 typedef unsigned long __ino_t;   19 typedef unsigned long __ino_t;
20 typedef __u_quad_t __ino64_t;   20 typedef __u_quad_t __ino64_t;
21 typedef unsigned int __mode_t;   21 typedef unsigned int __mode_t;
22 typedef unsigned int __nlink_t;   22 typedef unsigned int __nlink_t;
23 typedef long __off_t;   23 typedef long __off_t;
24 typedef __quad_t __off64_t;   24 typedef __quad_t __off64_t;
25 typedef int __pid_t;   25 typedef int __pid_t;
26 struct __anonstruct___fsid_t_1 {   26 struct __anonstruct___fsid_t_1 {
27    int __val[2] ;   27    int __val[2] ;
28 };   28 };
29 typedef struct __anonstruct___fsid_t_1 __fsid_t;   29 typedef struct __anonstruct___fsid_t_1 __fsid_t;
30 typedef long __clock_t;   30 typedef long __clock_t;
31 typedef unsigned long __rlim_t;   31 typedef unsigned long __rlim_t;
32 typedef __u_quad_t __rlim64_t;   32 typedef __u_quad_t __rlim64_t;
33 typedef unsigned int __id_t;   33 typedef unsigned int __id_t;
34 typedef long __time_t;   34 typedef long __time_t;
35 typedef unsigned int __useconds_t;   35 typedef unsigned int __useconds_t;
36 typedef long __suseconds_t;   36 typedef long __suseconds_t;
37 typedef int __daddr_t;   37 typedef int __daddr_t;
38 typedef long __swblk_t;   38 typedef long __swblk_t;
39 typedef int __key_t;   39 typedef int __key_t;
40 typedef int __clockid_t;   40 typedef int __clockid_t;
41 typedef void *__timer_t;   41 typedef void *__timer_t;
42 typedef long __blksize_t;   42 typedef long __blksize_t;
43 typedef long __blkcnt_t;   43 typedef long __blkcnt_t;
44 typedef __quad_t __blkcnt64_t;   44 typedef __quad_t __blkcnt64_t;
45 typedef unsigned long __fsblkcnt_t;   45 typedef unsigned long __fsblkcnt_t;
46 typedef __u_quad_t __fsblkcnt64_t;   46 typedef __u_quad_t __fsblkcnt64_t;
47 typedef unsigned long __fsfilcnt_t;   47 typedef unsigned long __fsfilcnt_t;
48 typedef __u_quad_t __fsfilcnt64_t;   48 typedef __u_quad_t __fsfilcnt64_t;
49 typedef int __ssize_t;   49 typedef int __ssize_t;
50 typedef __off64_t __loff_t;   50 typedef __off64_t __loff_t;
51 typedef __quad_t *__qaddr_t;   51 typedef __quad_t *__qaddr_t;
52 typedef char *__caddr_t;   52 typedef char *__caddr_t;
53 typedef int __intptr_t;   53 typedef int __intptr_t;
54 typedef unsigned int __socklen_t;   54 typedef unsigned int __socklen_t;
55 struct _IO_FILE;   55 struct _IO_FILE;
56 struct _IO_FILE;   56 struct _IO_FILE;
57 typedef struct _IO_FILE FILE;   57 typedef struct _IO_FILE FILE;
58 typedef struct _IO_FILE __FILE;   58 typedef struct _IO_FILE __FILE;
59 union __anonunion___value_3 {   59 union __anonunion___value_3 {
60    unsigned int __wch ;   60    unsigned int __wch ;
61    char __wchb[4] ;   61    char __wchb[4] ;
62 };   62 };
63 struct __anonstruct___mbstate_t_2 {   63 struct __anonstruct___mbstate_t_2 {
64    int __count ;   64    int __count ;
65    union __anonunion___value_3 __value ;   65    union __anonunion___value_3 __value ;
66 };   66 };
67 typedef struct __anonstruct___mbstate_t_2 __mbstate_t;   67 typedef struct __anonstruct___mbstate_t_2 __mbstate_t;
68 struct __anonstruct__G_fpos_t_4 {   68 struct __anonstruct__G_fpos_t_4 {
69    __off_t __pos ;   69    __off_t __pos ;
70    __mbstate_t __state ;   70    __mbstate_t __state ;
71 };   71 };
72 typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t;   72 typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t;
73 struct __anonstruct__G_fpos64_t_5 {   73 struct __anonstruct__G_fpos64_t_5 {
74    __off64_t __pos ;   74    __off64_t __pos ;
75    __mbstate_t __state ;   75    __mbstate_t __state ;
76 };   76 };
77 typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t;   77 typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t;
78 typedef short _G_int16_t;   78 typedef short _G_int16_t;
79 typedef int _G_int32_t;   79 typedef int _G_int32_t;
80 typedef unsigned short _G_uint16_t;   80 typedef unsigned short _G_uint16_t;
81 typedef unsigned int _G_uint32_t;   81 typedef unsigned int _G_uint32_t;
82 typedef __builtin_va_list __gnuc_va_list;   82 typedef __builtin_va_list __gnuc_va_list;
83 struct _IO_jump_t;   83 struct _IO_jump_t;
84 struct _IO_jump_t;   84 struct _IO_jump_t;
85 struct _IO_FILE;   85 struct _IO_FILE;
86 typedef void _IO_lock_t;   86 typedef void _IO_lock_t;
87 struct _IO_marker {   87 struct _IO_marker {
88    struct _IO_marker *_next ;   88    struct _IO_marker *_next ;
89    struct _IO_FILE *_sbuf ;   89    struct _IO_FILE *_sbuf ;
90    int _pos ;   90    int _pos ;
91 };   91 };
92 enum __codecvt_result {   92 enum __codecvt_result {
93     __codecvt_ok = 0,   93     __codecvt_ok = 0,
94     __codecvt_partial = 1,   94     __codecvt_partial = 1,
95     __codecvt_error = 2,   95     __codecvt_error = 2,
96     __codecvt_noconv = 3   96     __codecvt_noconv = 3
97 } ;   97 } ;
98 struct _IO_FILE {   98 struct _IO_FILE {
99    int _flags ;   99    int _flags ;
100    char *_IO_read_ptr ;   100    char *_IO_read_ptr ;
101    char *_IO_read_end ;   101    char *_IO_read_end ;
102    char *_IO_read_base ;   102    char *_IO_read_base ;
103    char *_IO_write_base ;   103    char *_IO_write_base ;
104    char *_IO_write_ptr ;   104    char *_IO_write_ptr ;
105    char *_IO_write_end ;   105    char *_IO_write_end ;
106    char *_IO_buf_base ;   106    char *_IO_buf_base ;
107    char *_IO_buf_end ;   107    char *_IO_buf_end ;
108    char *_IO_save_base ;   108    char *_IO_save_base ;
109    char *_IO_backup_base ;   109    char *_IO_backup_base ;
110    char *_IO_save_end ;   110    char *_IO_save_end ;
111    struct _IO_marker *_markers ;   111    struct _IO_marker *_markers ;
112    struct _IO_FILE *_chain ;   112    struct _IO_FILE *_chain ;
113    int _fileno ;   113    int _fileno ;
114    int _flags2 ;   114    int _flags2 ;
115    __off_t _old_offset ;   115    __off_t _old_offset ;
116    unsigned short _cur_column ;   116    unsigned short _cur_column ;
117    signed char _vtable_offset ;   117    signed char _vtable_offset ;
118    char _shortbuf[1] ;   118    char _shortbuf[1] ;
119    _IO_lock_t *_lock ;   119    _IO_lock_t *_lock ;
120    __off64_t _offset ;   120    __off64_t _offset ;
121    void *__pad1 ;   121    void *__pad1 ;
122    void *__pad2 ;   122    void *__pad2 ;
123    void *__pad3 ;   123    void *__pad3 ;
124    void *__pad4 ;   124    void *__pad4 ;
125    size_t __pad5 ;   125    size_t __pad5 ;
126    int _mode ;   126    int _mode ;
127    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   127    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
128 };   128 };
129 typedef struct _IO_FILE _IO_FILE;   129 typedef struct _IO_FILE _IO_FILE;
130 struct _IO_FILE_plus;   130 struct _IO_FILE_plus;
131 struct _IO_FILE_plus;   131 struct _IO_FILE_plus;
132 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   132 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
133 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   133 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
134                                 size_t __n );   134                                 size_t __n );
135 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   135 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
136 typedef int __io_close_fn(void *__cookie );   136 typedef int __io_close_fn(void *__cookie );
137 typedef __gnuc_va_list va_list;   137 typedef __gnuc_va_list va_list;
138 typedef __off64_t off_t;   138 typedef __off64_t off_t;
139 typedef __ssize_t ssize_t;   139 typedef __ssize_t ssize_t;
140 typedef _G_fpos64_t fpos_t;   140 typedef _G_fpos64_t fpos_t;
141 typedef long wchar_t;   141 typedef long wchar_t;
142 struct __anonstruct___wait_terminated_6 {   142 struct __anonstruct___wait_terminated_6 {
143    unsigned int __w_termsig : 7 ;   143    unsigned int __w_termsig : 7 ;
144    unsigned int __w_coredump : 1 ;   144    unsigned int __w_coredump : 1 ;
145    unsigned int __w_retcode : 8 ;   145    unsigned int __w_retcode : 8 ;
146    unsigned int  : 16 ;   146    unsigned int  : 16 ;
147 };   147 };
148 struct __anonstruct___wait_stopped_7 {   148 struct __anonstruct___wait_stopped_7 {
149    unsigned int __w_stopval : 8 ;   149    unsigned int __w_stopval : 8 ;
150    unsigned int __w_stopsig : 8 ;   150    unsigned int __w_stopsig : 8 ;
151    unsigned int  : 16 ;   151    unsigned int  : 16 ;
152 };   152 };
153 union wait {   153 union wait {
154    int w_status ;   154    int w_status ;
155    struct __anonstruct___wait_terminated_6 __wait_terminated ;   155    struct __anonstruct___wait_terminated_6 __wait_terminated ;
156    struct __anonstruct___wait_stopped_7 __wait_stopped ;   156    struct __anonstruct___wait_stopped_7 __wait_stopped ;
157 };   157 };
158 union __anonunion___WAIT_STATUS_8 {   158 union __anonunion___WAIT_STATUS_8 {
159    union wait *__uptr ;   159    union wait *__uptr ;
160    int *__iptr ;   160    int *__iptr ;
161 };   161 };
162 typedef union __anonunion___WAIT_STATUS_8  __attribute__((__transparent_union__)) __WAIT_STATUS;   162 typedef union __anonunion___WAIT_STATUS_8  __attribute__((__transparent_union__)) __WAIT_STATUS;
163 struct __anonstruct_div_t_9 {   163 struct __anonstruct_div_t_9 {
164    int quot ;   164    int quot ;
165    int rem ;   165    int rem ;
166 };   166 };
167 typedef struct __anonstruct_div_t_9 div_t;   167 typedef struct __anonstruct_div_t_9 div_t;
168 struct __anonstruct_ldiv_t_10 {   168 struct __anonstruct_ldiv_t_10 {
169    long quot ;   169    long quot ;
170    long rem ;   170    long rem ;
171 };   171 };
172 typedef struct __anonstruct_ldiv_t_10 ldiv_t;   172 typedef struct __anonstruct_ldiv_t_10 ldiv_t;
173 struct __anonstruct_lldiv_t_11 {   173 struct __anonstruct_lldiv_t_11 {
174    long long quot ;   174    long long quot ;
175    long long rem ;   175    long long rem ;
176 };   176 };
177 typedef struct __anonstruct_lldiv_t_11 lldiv_t;   177 typedef struct __anonstruct_lldiv_t_11 lldiv_t;
178 typedef __u_char u_char;   178 typedef __u_char u_char;
179 typedef __u_short u_short;   179 typedef __u_short u_short;
180 typedef __u_int u_int;   180 typedef __u_int u_int;
181 typedef __u_long u_long;   181 typedef __u_long u_long;
182 typedef __quad_t quad_t;   182 typedef __quad_t quad_t;
183 typedef __u_quad_t u_quad_t;   183 typedef __u_quad_t u_quad_t;
184 typedef __fsid_t fsid_t;   184 typedef __fsid_t fsid_t;
185 typedef __loff_t loff_t;   185 typedef __loff_t loff_t;
186 typedef __ino64_t ino_t;   186 typedef __ino64_t ino_t;
187 typedef __dev_t dev_t;   187 typedef __dev_t dev_t;
188 typedef __gid_t gid_t;   188 typedef __gid_t gid_t;
189 typedef __mode_t mode_t;   189 typedef __mode_t mode_t;
190 typedef __nlink_t nlink_t;   190 typedef __nlink_t nlink_t;
191 typedef __uid_t uid_t;   191 typedef __uid_t uid_t;
192 typedef __pid_t pid_t;   192 typedef __pid_t pid_t;
193 typedef __id_t id_t;   193 typedef __id_t id_t;
194 typedef __daddr_t daddr_t;   194 typedef __daddr_t daddr_t;
195 typedef __caddr_t caddr_t;   195 typedef __caddr_t caddr_t;
196 typedef __key_t key_t;   196 typedef __key_t key_t;
197 typedef __clock_t clock_t;   197 typedef __clock_t clock_t;
198 typedef __time_t time_t;   198 typedef __time_t time_t;
199 typedef __clockid_t clockid_t;   199 typedef __clockid_t clockid_t;
200 typedef __timer_t timer_t;   200 typedef __timer_t timer_t;
201 typedef unsigned long ulong;   201 typedef unsigned long ulong;
202 typedef unsigned short ushort;   202 typedef unsigned short ushort;
203 typedef unsigned int uint;   203 typedef unsigned int uint;
204 typedef signed char int8_t;   204 typedef signed char int8_t;
205 typedef short int16_t;   205 typedef short int16_t;
206 typedef int int32_t;   206 typedef int int32_t;
207 typedef long long int64_t;   207 typedef long long int64_t;
208 typedef unsigned char u_int8_t;   208 typedef unsigned char u_int8_t;
209 typedef unsigned short u_int16_t;   209 typedef unsigned short u_int16_t;
210 typedef unsigned int u_int32_t;   210 typedef unsigned int u_int32_t;
211 typedef unsigned long long u_int64_t;   211 typedef unsigned long long u_int64_t;
212 typedef int register_t;   212 typedef int register_t;
213 typedef int __sig_atomic_t;   213 typedef int __sig_atomic_t;
214 struct __anonstruct___sigset_t_12 {   214 struct __anonstruct___sigset_t_12 {
215    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   215    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
216 };   216 };
217 typedef struct __anonstruct___sigset_t_12 __sigset_t;   217 typedef struct __anonstruct___sigset_t_12 __sigset_t;
218 typedef __sigset_t sigset_t;   218 typedef __sigset_t sigset_t;
219 struct timespec {   219 struct timespec {
220    __time_t tv_sec ;   220    __time_t tv_sec ;
221    long tv_nsec ;   221    long tv_nsec ;
222 };   222 };
223 struct timeval {   223 struct timeval {
224    __time_t tv_sec ;   224    __time_t tv_sec ;
225    __suseconds_t tv_usec ;   225    __suseconds_t tv_usec ;
226 };   226 };
227 typedef __suseconds_t suseconds_t;   227 typedef __suseconds_t suseconds_t;
228 typedef long __fd_mask;   228 typedef long __fd_mask;
229 struct __anonstruct_fd_set_13 {   229 struct __anonstruct_fd_set_13 {
230    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   230    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
231 };   231 };
232 typedef struct __anonstruct_fd_set_13 fd_set;   232 typedef struct __anonstruct_fd_set_13 fd_set;
233 typedef __fd_mask fd_mask;   233 typedef __fd_mask fd_mask;
234 typedef __blksize_t blksize_t;   234 typedef __blksize_t blksize_t;
235 typedef __blkcnt64_t blkcnt_t;   235 typedef __blkcnt64_t blkcnt_t;
236 typedef __fsblkcnt64_t fsblkcnt_t;   236 typedef __fsblkcnt64_t fsblkcnt_t;
237 typedef __fsfilcnt64_t fsfilcnt_t;   237 typedef __fsfilcnt64_t fsfilcnt_t;
238 typedef unsigned long pthread_t;   238 typedef unsigned long pthread_t;
239 union __anonunion_pthread_attr_t_14 {   239 union __anonunion_pthread_attr_t_14 {
240    char __size[36] ;   240    char __size[36] ;
241    long __align ;   241    long __align ;
242 };   242 };
243 typedef union __anonunion_pthread_attr_t_14 pthread_attr_t;   243 typedef union __anonunion_pthread_attr_t_14 pthread_attr_t;
244 struct __pthread_internal_slist {   244 struct __pthread_internal_slist {
245    struct __pthread_internal_slist *__next ;   245    struct __pthread_internal_slist *__next ;
246 };   246 };
247 typedef struct __pthread_internal_slist __pthread_slist_t;   247 typedef struct __pthread_internal_slist __pthread_slist_t;
248 union __anonunion____missing_field_name_16 {   248 union __anonunion____missing_field_name_16 {
249    int __spins ;   249    int __spins ;
250    __pthread_slist_t __list ;   250    __pthread_slist_t __list ;
251 };   251 };
252 struct __pthread_mutex_s {   252 struct __pthread_mutex_s {
253    int __lock ;   253    int __lock ;
254    unsigned int __count ;   254    unsigned int __count ;
255    int __owner ;   255    int __owner ;
256    int __kind ;   256    int __kind ;
257    unsigned int __nusers ;   257    unsigned int __nusers ;
258    union __anonunion____missing_field_name_16 __annonCompField1 ;   258    union __anonunion____missing_field_name_16 __annonCompField1 ;
259 };   259 };
260 union __anonunion_pthread_mutex_t_15 {   260 union __anonunion_pthread_mutex_t_15 {
261    struct __pthread_mutex_s __data ;   261    struct __pthread_mutex_s __data ;
262    char __size[24] ;   262    char __size[24] ;
263    long __align ;   263    long __align ;
264 };   264 };
265 typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t;   265 typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t;
266 union __anonunion_pthread_mutexattr_t_17 {   266 union __anonunion_pthread_mutexattr_t_17 {
267    char __size[4] ;   267    char __size[4] ;
268    long __align ;   268    long __align ;
269 };   269 };
270 typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t;   270 typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t;
271 struct __anonstruct___data_19 {   271 struct __anonstruct___data_19 {
272    int __lock ;   272    int __lock ;
273    unsigned int __futex ;   273    unsigned int __futex ;
274    unsigned long long __total_seq ;   274    unsigned long long __total_seq ;
275    unsigned long long __wakeup_seq ;   275    unsigned long long __wakeup_seq ;
276    unsigned long long __woken_seq ;   276    unsigned long long __woken_seq ;
277    void *__mutex ;   277    void *__mutex ;
278    unsigned int __nwaiters ;   278    unsigned int __nwaiters ;
279    unsigned int __broadcast_seq ;   279    unsigned int __broadcast_seq ;
280 };   280 };
281 union __anonunion_pthread_cond_t_18 {   281 union __anonunion_pthread_cond_t_18 {
282    struct __anonstruct___data_19 __data ;   282    struct __anonstruct___data_19 __data ;
283    char __size[48] ;   283    char __size[48] ;
284    long long __align ;   284    long long __align ;
285 };   285 };
286 typedef union __anonunion_pthread_cond_t_18 pthread_cond_t;   286 typedef union __anonunion_pthread_cond_t_18 pthread_cond_t;
287 union __anonunion_pthread_condattr_t_20 {   287 union __anonunion_pthread_condattr_t_20 {
288    char __size[4] ;   288    char __size[4] ;
289    long __align ;   289    long __align ;
290 };   290 };
291 typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t;   291 typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t;
292 typedef unsigned int pthread_key_t;   292 typedef unsigned int pthread_key_t;
293 typedef int pthread_once_t;   293 typedef int pthread_once_t;
294 struct __anonstruct___data_22 {   294 struct __anonstruct___data_22 {
295    int __lock ;   295    int __lock ;
296    unsigned int __nr_readers ;   296    unsigned int __nr_readers ;
297    unsigned int __readers_wakeup ;   297    unsigned int __readers_wakeup ;
298    unsigned int __writer_wakeup ;   298    unsigned int __writer_wakeup ;
299    unsigned int __nr_readers_queued ;   299    unsigned int __nr_readers_queued ;
300    unsigned int __nr_writers_queued ;   300    unsigned int __nr_writers_queued ;
301    unsigned char __flags ;   301    unsigned char __flags ;
302    unsigned char __shared ;   302    unsigned char __shared ;
303    unsigned char __pad1 ;   303    unsigned char __pad1 ;
304    unsigned char __pad2 ;   304    unsigned char __pad2 ;
305    int __writer ;   305    int __writer ;
306 };   306 };
307 union __anonunion_pthread_rwlock_t_21 {   307 union __anonunion_pthread_rwlock_t_21 {
308    struct __anonstruct___data_22 __data ;   308    struct __anonstruct___data_22 __data ;
309    char __size[32] ;   309    char __size[32] ;
310    long __align ;   310    long __align ;
311 };   311 };
312 typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t;   312 typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t;
313 union __anonunion_pthread_rwlockattr_t_23 {   313 union __anonunion_pthread_rwlockattr_t_23 {
314    char __size[8] ;   314    char __size[8] ;
315    long __align ;   315    long __align ;
316 };   316 };
317 typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t;   317 typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t;
318 typedef int volatile   pthread_spinlock_t;   318 typedef int volatile   pthread_spinlock_t;
319 union __anonunion_pthread_barrier_t_24 {   319 union __anonunion_pthread_barrier_t_24 {
320    char __size[20] ;   320    char __size[20] ;
321    long __align ;   321    long __align ;
322 };   322 };
323 typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t;   323 typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t;
324 union __anonunion_pthread_barrierattr_t_25 {   324 union __anonunion_pthread_barrierattr_t_25 {
325    char __size[4] ;   325    char __size[4] ;
326    int __align ;   326    int __align ;
327 };   327 };
328 typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t;   328 typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t;
329 struct random_data {   329 struct random_data {
330    int32_t *fptr ;   330    int32_t *fptr ;
331    int32_t *rptr ;   331    int32_t *rptr ;
332    int32_t *state ;   332    int32_t *state ;
333    int rand_type ;   333    int rand_type ;
334    int rand_deg ;   334    int rand_deg ;
335    int rand_sep ;   335    int rand_sep ;
336    int32_t *end_ptr ;   336    int32_t *end_ptr ;
337 };   337 };
338 struct drand48_data {   338 struct drand48_data {
339    unsigned short __x[3] ;   339    unsigned short __x[3] ;
340    unsigned short __old_x[3] ;   340    unsigned short __old_x[3] ;
341    unsigned short __c ;   341    unsigned short __c ;
342    unsigned short __init ;   342    unsigned short __init ;
343    unsigned long long __a ;   343    unsigned long long __a ;
344 };   344 };
345 typedef int (*__compar_fn_t)(void const   * , void const   * );   345 typedef int (*__compar_fn_t)(void const   * , void const   * );
346 typedef int ptrdiff_t;   346 typedef int ptrdiff_t;
347 typedef signed char gint8;   347 typedef signed char gint8;
348 typedef unsigned char guint8;   348 typedef unsigned char guint8;
349 typedef short gint16;   349 typedef short gint16;
350 typedef unsigned short guint16;   350 typedef unsigned short guint16;
351 typedef int gint32;   351 typedef int gint32;
352 typedef unsigned int guint32;   352 typedef unsigned int guint32;
353 typedef long long gint64;   353 typedef long long gint64;
354 typedef unsigned long long guint64;   354 typedef unsigned long long guint64;
355 typedef int gssize;   355 typedef int gssize;
356 typedef unsigned int gsize;   356 typedef unsigned int gsize;
357 typedef gint64 goffset;   357 typedef gint64 goffset;
358 typedef int gintptr;   358 typedef int gintptr;
359 typedef unsigned int guintptr;   359 typedef unsigned int guintptr;
360 struct _GStaticMutex;   360 struct _GStaticMutex;
361 typedef struct _GStaticMutex GStaticMutex;   361 typedef struct _GStaticMutex GStaticMutex;
362 struct _GMutex;   362 struct _GMutex;
363 union __anonunion_static_mutex_26 {   363 union __anonunion_static_mutex_26 {
364    char pad[24] ;   364    char pad[24] ;
365    double dummy_double ;   365    double dummy_double ;
366    void *dummy_pointer ;   366    void *dummy_pointer ;
367    long dummy_long ;   367    long dummy_long ;
368 };   368 };
369 struct _GStaticMutex {   369 struct _GStaticMutex {
370    struct _GMutex *runtime_mutex ;   370    struct _GMutex *runtime_mutex ;
371    union __anonunion_static_mutex_26 static_mutex ;   371    union __anonunion_static_mutex_26 static_mutex ;
372 };   372 };
373 union _GSystemThread;   373 union _GSystemThread;
374 typedef union _GSystemThread GSystemThread;   374 typedef union _GSystemThread GSystemThread;
375 union _GSystemThread {   375 union _GSystemThread {
376    char data[4] ;   376    char data[4] ;
377    double dummy_double ;   377    double dummy_double ;
378    void *dummy_pointer ;   378    void *dummy_pointer ;
379    long dummy_long ;   379    long dummy_long ;
380 };   380 };
381 typedef int GPid;   381 typedef int GPid;
382 typedef char gchar;   382 typedef char gchar;
383 typedef short gshort;   383 typedef short gshort;
384 typedef long glong;   384 typedef long glong;
385 typedef int gint;   385 typedef int gint;
386 typedef gint gboolean;   386 typedef gint gboolean;
387 typedef unsigned char guchar;   387 typedef unsigned char guchar;
388 typedef unsigned short gushort;   388 typedef unsigned short gushort;
389 typedef unsigned long gulong;   389 typedef unsigned long gulong;
390 typedef unsigned int guint;   390 typedef unsigned int guint;
391 typedef float gfloat;   391 typedef float gfloat;
392 typedef double gdouble;   392 typedef double gdouble;
393 typedef void *gpointer;   393 typedef void *gpointer;
394 typedef void const   *gconstpointer;   394 typedef void const   *gconstpointer;
395 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );   395 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );
396 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,   396 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,
397                                  gpointer user_data );   397                                  gpointer user_data );
398 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );   398 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );
399 typedef void (*GDestroyNotify)(gpointer data );   399 typedef void (*GDestroyNotify)(gpointer data );
400 typedef void (*GFunc)(gpointer data , gpointer user_data );   400 typedef void (*GFunc)(gpointer data , gpointer user_data );
401 typedef guint (*GHashFunc)(gconstpointer key );   401 typedef guint (*GHashFunc)(gconstpointer key );
402 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );   402 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );
403 typedef void (*GFreeFunc)(gpointer data );   403 typedef void (*GFreeFunc)(gpointer data );
404 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );   404 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );
405 union _GDoubleIEEE754;   405 union _GDoubleIEEE754;
406 typedef union _GDoubleIEEE754 GDoubleIEEE754;   406 typedef union _GDoubleIEEE754 GDoubleIEEE754;
407 union _GFloatIEEE754;   407 union _GFloatIEEE754;
408 typedef union _GFloatIEEE754 GFloatIEEE754;   408 typedef union _GFloatIEEE754 GFloatIEEE754;
409 struct __anonstruct_mpn_27 {   409 struct __anonstruct_mpn_27 {
410    guint mantissa : 23 ;   410    guint mantissa : 23 ;
411    guint biased_exponent : 8 ;   411    guint biased_exponent : 8 ;
412    guint sign : 1 ;   412    guint sign : 1 ;
413 };   413 };
414 union _GFloatIEEE754 {   414 union _GFloatIEEE754 {
415    gfloat v_float ;   415    gfloat v_float ;
416    struct __anonstruct_mpn_27 mpn ;   416    struct __anonstruct_mpn_27 mpn ;
417 };   417 };
418 struct __anonstruct_mpn_28 {   418 struct __anonstruct_mpn_28 {
419    guint mantissa_low : 32 ;   419    guint mantissa_low : 32 ;
420    guint mantissa_high : 20 ;   420    guint mantissa_high : 20 ;
421    guint biased_exponent : 11 ;   421    guint biased_exponent : 11 ;
422    guint sign : 1 ;   422    guint sign : 1 ;
423 };   423 };
424 union _GDoubleIEEE754 {   424 union _GDoubleIEEE754 {
425    gdouble v_double ;   425    gdouble v_double ;
426    struct __anonstruct_mpn_28 mpn ;   426    struct __anonstruct_mpn_28 mpn ;
427 };   427 };
428 struct _GTimeVal;   428 struct _GTimeVal;
429 typedef struct _GTimeVal GTimeVal;   429 typedef struct _GTimeVal GTimeVal;
430 struct _GTimeVal {   430 struct _GTimeVal {
431    glong tv_sec ;   431    glong tv_sec ;
432    glong tv_usec ;   432    glong tv_usec ;
433 };   433 };
434 struct _GArray;   434 struct _GArray;
435 typedef struct _GArray GArray;   435 typedef struct _GArray GArray;
436 struct _GByteArray;   436 struct _GByteArray;
437 typedef struct _GByteArray GByteArray;   437 typedef struct _GByteArray GByteArray;
438 struct _GPtrArray;   438 struct _GPtrArray;
439 typedef struct _GPtrArray GPtrArray;   439 typedef struct _GPtrArray GPtrArray;
440 struct _GArray {   440 struct _GArray {
441    gchar *data ;   441    gchar *data ;
442    guint len ;   442    guint len ;
443 };   443 };
444 struct _GByteArray {   444 struct _GByteArray {
445    guint8 *data ;   445    guint8 *data ;
446    guint len ;   446    guint len ;
447 };   447 };
448 struct _GPtrArray {   448 struct _GPtrArray {
449    gpointer *pdata ;   449    gpointer *pdata ;
450    guint len ;   450    guint len ;
451 };   451 };
452 typedef guint32 GQuark;   452 typedef guint32 GQuark;
453 struct _GError;   453 struct _GError;
454 typedef struct _GError GError;   454 typedef struct _GError GError;
455 struct _GError {   455 struct _GError {
456    GQuark domain ;   456    GQuark domain ;
457    gint code ;   457    gint code ;
458    gchar *message ;   458    gchar *message ;
459 };   459 };
460 enum __anonenum_GUserDirectory_29 {   460 enum __anonenum_GUserDirectory_29 {
461     G_USER_DIRECTORY_DESKTOP = 0,   461     G_USER_DIRECTORY_DESKTOP = 0,
462     G_USER_DIRECTORY_DOCUMENTS = 1,   462     G_USER_DIRECTORY_DOCUMENTS = 1,
463     G_USER_DIRECTORY_DOWNLOAD = 2,   463     G_USER_DIRECTORY_DOWNLOAD = 2,
464     G_USER_DIRECTORY_MUSIC = 3,   464     G_USER_DIRECTORY_MUSIC = 3,
465     G_USER_DIRECTORY_PICTURES = 4,   465     G_USER_DIRECTORY_PICTURES = 4,
466     G_USER_DIRECTORY_PUBLIC_SHARE = 5,   466     G_USER_DIRECTORY_PUBLIC_SHARE = 5,
467     G_USER_DIRECTORY_TEMPLATES = 6,   467     G_USER_DIRECTORY_TEMPLATES = 6,
468     G_USER_DIRECTORY_VIDEOS = 7,   468     G_USER_DIRECTORY_VIDEOS = 7,
469     G_USER_N_DIRECTORIES = 8   469     G_USER_N_DIRECTORIES = 8
470 } ;   470 } ;
471 typedef enum __anonenum_GUserDirectory_29 GUserDirectory;   471 typedef enum __anonenum_GUserDirectory_29 GUserDirectory;
472 struct _GDebugKey;   472 struct _GDebugKey;
473 typedef struct _GDebugKey GDebugKey;   473 typedef struct _GDebugKey GDebugKey;
474 struct _GDebugKey {   474 struct _GDebugKey {
475    gchar const   *key ;   475    gchar const   *key ;
476    guint value ;   476    guint value ;
477 };   477 };
478 typedef void (*GVoidFunc)(void);   478 typedef void (*GVoidFunc)(void);
479 struct _GTrashStack;   479 struct _GTrashStack;
480 typedef struct _GTrashStack GTrashStack;   480 typedef struct _GTrashStack GTrashStack;
481 struct _GTrashStack {   481 struct _GTrashStack {
482    GTrashStack *next ;   482    GTrashStack *next ;
483 };   483 };
484 enum __anonenum_GThreadError_30 {   484 enum __anonenum_GThreadError_30 {
485     G_THREAD_ERROR_AGAIN = 0   485     G_THREAD_ERROR_AGAIN = 0
486 } ;   486 } ;
487 typedef enum __anonenum_GThreadError_30 GThreadError;   487 typedef enum __anonenum_GThreadError_30 GThreadError;
488 typedef gpointer (*GThreadFunc)(gpointer data );   488 typedef gpointer (*GThreadFunc)(gpointer data );
489 enum __anonenum_GThreadPriority_31 {   489 enum __anonenum_GThreadPriority_31 {
490     G_THREAD_PRIORITY_LOW = 0,   490     G_THREAD_PRIORITY_LOW = 0,
491     G_THREAD_PRIORITY_NORMAL = 1,   491     G_THREAD_PRIORITY_NORMAL = 1,
492     G_THREAD_PRIORITY_HIGH = 2,   492     G_THREAD_PRIORITY_HIGH = 2,
493     G_THREAD_PRIORITY_URGENT = 3   493     G_THREAD_PRIORITY_URGENT = 3
494 } ;   494 } ;
495 typedef enum __anonenum_GThreadPriority_31 GThreadPriority;   495 typedef enum __anonenum_GThreadPriority_31 GThreadPriority;
496 struct _GThread;   496 struct _GThread;
497 typedef struct _GThread GThread;   497 typedef struct _GThread GThread;
498 struct _GThread {   498 struct _GThread {
499    gpointer (*func)(gpointer data ) ;   499    gpointer (*func)(gpointer data ) ;
500    gpointer data ;   500    gpointer data ;
501    gboolean joinable ;   501    gboolean joinable ;
502    GThreadPriority priority ;   502    GThreadPriority priority ;
503 };   503 };
504 typedef struct _GMutex GMutex;   504 typedef struct _GMutex GMutex;
505 struct _GCond;   505 struct _GCond;
506 typedef struct _GCond GCond;   506 typedef struct _GCond GCond;
507 struct _GPrivate;   507 struct _GPrivate;
508 typedef struct _GPrivate GPrivate;   508 typedef struct _GPrivate GPrivate;
509 struct _GStaticPrivate;   509 struct _GStaticPrivate;
510 typedef struct _GStaticPrivate GStaticPrivate;   510 typedef struct _GStaticPrivate GStaticPrivate;
511 struct _GThreadFunctions;   511 struct _GThreadFunctions;
512 typedef struct _GThreadFunctions GThreadFunctions;   512 typedef struct _GThreadFunctions GThreadFunctions;
513 struct _GThreadFunctions {   513 struct _GThreadFunctions {
514    GMutex *(*mutex_new)(void) ;   514    GMutex *(*mutex_new)(void) ;
515    void (*mutex_lock)(GMutex *mutex ) ;   515    void (*mutex_lock)(GMutex *mutex ) ;
516    gboolean (*mutex_trylock)(GMutex *mutex ) ;   516    gboolean (*mutex_trylock)(GMutex *mutex ) ;
517    void (*mutex_unlock)(GMutex *mutex ) ;   517    void (*mutex_unlock)(GMutex *mutex ) ;
518    void (*mutex_free)(GMutex *mutex ) ;   518    void (*mutex_free)(GMutex *mutex ) ;
519    GCond *(*cond_new)(void) ;   519    GCond *(*cond_new)(void) ;
520    void (*cond_signal)(GCond *cond ) ;   520    void (*cond_signal)(GCond *cond ) ;
521    void (*cond_broadcast)(GCond *cond ) ;   521    void (*cond_broadcast)(GCond *cond ) ;
522    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;   522    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;
523    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;   523    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;
524    void (*cond_free)(GCond *cond ) ;   524    void (*cond_free)(GCond *cond ) ;
525    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;   525    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;
526    gpointer (*private_get)(GPrivate *private_key ) ;   526    gpointer (*private_get)(GPrivate *private_key ) ;
527    void (*private_set)(GPrivate *private_key , gpointer data ) ;   527    void (*private_set)(GPrivate *private_key , gpointer data ) ;
528    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,   528    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,
529                          gulong stack_size , gboolean joinable ,   529                          gulong stack_size , gboolean joinable ,
530                          gboolean bound , GThreadPriority priority ,   530                          gboolean bound , GThreadPriority priority ,
531                          gpointer thread , GError **error ) ;   531                          gpointer thread , GError **error ) ;
532    void (*thread_yield)(void) ;   532    void (*thread_yield)(void) ;
533    void (*thread_join)(gpointer thread ) ;   533    void (*thread_join)(gpointer thread ) ;
534    void (*thread_exit)(void) ;   534    void (*thread_exit)(void) ;
535    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;   535    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;
536    void (*thread_self)(gpointer thread ) ;   536    void (*thread_self)(gpointer thread ) ;
537    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;   537    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;
538 };   538 };
539 struct _GStaticPrivate {   539 struct _GStaticPrivate {
540    guint index ;   540    guint index ;
541 };   541 };
542 struct _GStaticRecMutex;   542 struct _GStaticRecMutex;
543 typedef struct _GStaticRecMutex GStaticRecMutex;   543 typedef struct _GStaticRecMutex GStaticRecMutex;
544 struct _GStaticRecMutex {   544 struct _GStaticRecMutex {
545    GStaticMutex mutex ;   545    GStaticMutex mutex ;
546    guint depth ;   546    guint depth ;
547    GSystemThread owner ;   547    GSystemThread owner ;
548 };   548 };
549 struct _GStaticRWLock;   549 struct _GStaticRWLock;
550 typedef struct _GStaticRWLock GStaticRWLock;   550 typedef struct _GStaticRWLock GStaticRWLock;
551 struct _GStaticRWLock {   551 struct _GStaticRWLock {
552    GStaticMutex mutex ;   552    GStaticMutex mutex ;
553    GCond *read_cond ;   553    GCond *read_cond ;
554    GCond *write_cond ;   554    GCond *write_cond ;
555    guint read_counter ;   555    guint read_counter ;
556    gboolean have_writer ;   556    gboolean have_writer ;
557    guint want_to_read ;   557    guint want_to_read ;
558    guint want_to_write ;   558    guint want_to_write ;
559 };   559 };
560 enum __anonenum_GOnceStatus_32 {   560 enum __anonenum_GOnceStatus_32 {
561     G_ONCE_STATUS_NOTCALLED = 0,   561     G_ONCE_STATUS_NOTCALLED = 0,
562     G_ONCE_STATUS_PROGRESS = 1,   562     G_ONCE_STATUS_PROGRESS = 1,
563     G_ONCE_STATUS_READY = 2   563     G_ONCE_STATUS_READY = 2
564 } ;   564 } ;
565 typedef enum __anonenum_GOnceStatus_32 GOnceStatus;   565 typedef enum __anonenum_GOnceStatus_32 GOnceStatus;
566 struct _GOnce;   566 struct _GOnce;
567 typedef struct _GOnce GOnce;   567 typedef struct _GOnce GOnce;
568 struct _GOnce {   568 struct _GOnce {
569    GOnceStatus volatile   status ;   569    GOnceStatus volatile   status ;
570    gpointer volatile   retval ;   570    gpointer volatile   retval ;
571 };   571 };
572 struct _GAsyncQueue;   572 struct _GAsyncQueue;
573 typedef struct _GAsyncQueue GAsyncQueue;   573 typedef struct _GAsyncQueue GAsyncQueue;
574 typedef __sig_atomic_t sig_atomic_t;   574 typedef __sig_atomic_t sig_atomic_t;
575 union sigval {   575 union sigval {
576    int sival_int ;   576    int sival_int ;
577    void *sival_ptr ;   577    void *sival_ptr ;
578 };   578 };
579 typedef union sigval sigval_t;   579 typedef union sigval sigval_t;
580 struct __anonstruct__kill_34 {   580 struct __anonstruct__kill_34 {
581    __pid_t si_pid ;   581    __pid_t si_pid ;
582    __uid_t si_uid ;   582    __uid_t si_uid ;
583 };   583 };
584 struct __anonstruct__timer_35 {   584 struct __anonstruct__timer_35 {
585    int si_tid ;   585    int si_tid ;
586    int si_overrun ;   586    int si_overrun ;
587    sigval_t si_sigval ;   587    sigval_t si_sigval ;
588 };   588 };
589 struct __anonstruct__rt_36 {   589 struct __anonstruct__rt_36 {
590    __pid_t si_pid ;   590    __pid_t si_pid ;
591    __uid_t si_uid ;   591    __uid_t si_uid ;
592    sigval_t si_sigval ;   592    sigval_t si_sigval ;
593 };   593 };
594 struct __anonstruct__sigchld_37 {   594 struct __anonstruct__sigchld_37 {
595    __pid_t si_pid ;   595    __pid_t si_pid ;
596    __uid_t si_uid ;   596    __uid_t si_uid ;
597    int si_status ;   597    int si_status ;
598    __clock_t si_utime ;   598    __clock_t si_utime ;
599    __clock_t si_stime ;   599    __clock_t si_stime ;
600 };   600 };
601 struct __anonstruct__sigfault_38 {   601 struct __anonstruct__sigfault_38 {
602    void *si_addr ;   602    void *si_addr ;
603 };   603 };
604 struct __anonstruct__sigpoll_39 {   604 struct __anonstruct__sigpoll_39 {
605    long si_band ;   605    long si_band ;
606    int si_fd ;   606    int si_fd ;
607 };   607 };
608 union __anonunion__sifields_33 {   608 union __anonunion__sifields_33 {
609    int _pad[128U / sizeof(int ) - 3U] ;   609    int _pad[128U / sizeof(int ) - 3U] ;
610    struct __anonstruct__kill_34 _kill ;   610    struct __anonstruct__kill_34 _kill ;
611    struct __anonstruct__timer_35 _timer ;   611    struct __anonstruct__timer_35 _timer ;
612    struct __anonstruct__rt_36 _rt ;   612    struct __anonstruct__rt_36 _rt ;
613    struct __anonstruct__sigchld_37 _sigchld ;   613    struct __anonstruct__sigchld_37 _sigchld ;
614    struct __anonstruct__sigfault_38 _sigfault ;   614    struct __anonstruct__sigfault_38 _sigfault ;
615    struct __anonstruct__sigpoll_39 _sigpoll ;   615    struct __anonstruct__sigpoll_39 _sigpoll ;
616 };   616 };
617 struct siginfo {   617 struct siginfo {
618    int si_signo ;   618    int si_signo ;
619    int si_errno ;   619    int si_errno ;
620    int si_code ;   620    int si_code ;
621    union __anonunion__sifields_33 _sifields ;   621    union __anonunion__sifields_33 _sifields ;
622 };   622 };
623 typedef struct siginfo siginfo_t;   623 typedef struct siginfo siginfo_t;
624 enum __anonenum_40 {   624 enum __anonenum_40 {
625     SI_ASYNCNL = -60,   625     SI_ASYNCNL = -60,
626     SI_TKILL = -6,   626     SI_TKILL = -6,
627     SI_SIGIO = -5,   627     SI_SIGIO = -5,
628     SI_ASYNCIO = -4,   628     SI_ASYNCIO = -4,
629     SI_MESGQ = -3,   629     SI_MESGQ = -3,
630     SI_TIMER = -2,   630     SI_TIMER = -2,
631     SI_QUEUE = -1,   631     SI_QUEUE = -1,
632     SI_USER = 0,   632     SI_USER = 0,
633     SI_KERNEL = 128   633     SI_KERNEL = 128
634 } ;   634 } ;
635 enum __anonenum_41 {   635 enum __anonenum_41 {
636     ILL_ILLOPC = 1,   636     ILL_ILLOPC = 1,
637     ILL_ILLOPN = 2,   637     ILL_ILLOPN = 2,
638     ILL_ILLADR = 3,   638     ILL_ILLADR = 3,
639     ILL_ILLTRP = 4,   639     ILL_ILLTRP = 4,
640     ILL_PRVOPC = 5,   640     ILL_PRVOPC = 5,
641     ILL_PRVREG = 6,   641     ILL_PRVREG = 6,
642     ILL_COPROC = 7,   642     ILL_COPROC = 7,
643     ILL_BADSTK = 8   643     ILL_BADSTK = 8
644 } ;   644 } ;
645 enum __anonenum_42 {   645 enum __anonenum_42 {
646     FPE_INTDIV = 1,   646     FPE_INTDIV = 1,
647     FPE_INTOVF = 2,   647     FPE_INTOVF = 2,
648     FPE_FLTDIV = 3,   648     FPE_FLTDIV = 3,
649     FPE_FLTOVF = 4,   649     FPE_FLTOVF = 4,
650     FPE_FLTUND = 5,   650     FPE_FLTUND = 5,
651     FPE_FLTRES = 6,   651     FPE_FLTRES = 6,
652     FPE_FLTINV = 7,   652     FPE_FLTINV = 7,
653     FPE_FLTSUB = 8   653     FPE_FLTSUB = 8
654 } ;   654 } ;
655 enum __anonenum_43 {   655 enum __anonenum_43 {
656     SEGV_MAPERR = 1,   656     SEGV_MAPERR = 1,
657     SEGV_ACCERR = 2   657     SEGV_ACCERR = 2
658 } ;   658 } ;
659 enum __anonenum_44 {   659 enum __anonenum_44 {
660     BUS_ADRALN = 1,   660     BUS_ADRALN = 1,
661     BUS_ADRERR = 2,   661     BUS_ADRERR = 2,
662     BUS_OBJERR = 3   662     BUS_OBJERR = 3
663 } ;   663 } ;
664 enum __anonenum_45 {   664 enum __anonenum_45 {
665     TRAP_BRKPT = 1,   665     TRAP_BRKPT = 1,
666     TRAP_TRACE = 2   666     TRAP_TRACE = 2
667 } ;   667 } ;
668 enum __anonenum_46 {   668 enum __anonenum_46 {
669     CLD_EXITED = 1,   669     CLD_EXITED = 1,
670     CLD_KILLED = 2,   670     CLD_KILLED = 2,
671     CLD_DUMPED = 3,   671     CLD_DUMPED = 3,
672     CLD_TRAPPED = 4,   672     CLD_TRAPPED = 4,
673     CLD_STOPPED = 5,   673     CLD_STOPPED = 5,
674     CLD_CONTINUED = 6   674     CLD_CONTINUED = 6
675 } ;   675 } ;
676 enum __anonenum_47 {   676 enum __anonenum_47 {
677     POLL_IN = 1,   677     POLL_IN = 1,
678     POLL_OUT = 2,   678     POLL_OUT = 2,
679     POLL_MSG = 3,   679     POLL_MSG = 3,
680     POLL_ERR = 4,   680     POLL_ERR = 4,
681     POLL_PRI = 5,   681     POLL_PRI = 5,
682     POLL_HUP = 6   682     POLL_HUP = 6
683 } ;   683 } ;
684 struct __anonstruct__sigev_thread_49 {   684 struct __anonstruct__sigev_thread_49 {
685    void (*_function)(sigval_t  ) ;   685    void (*_function)(sigval_t  ) ;
686    void *_attribute ;   686    void *_attribute ;
687 };   687 };
688 union __anonunion__sigev_un_48 {   688 union __anonunion__sigev_un_48 {
689    int _pad[64U / sizeof(int ) - 3U] ;   689    int _pad[64U / sizeof(int ) - 3U] ;
690    __pid_t _tid ;   690    __pid_t _tid ;
691    struct __anonstruct__sigev_thread_49 _sigev_thread ;   691    struct __anonstruct__sigev_thread_49 _sigev_thread ;
692 };   692 };
693 struct sigevent {   693 struct sigevent {
694    sigval_t sigev_value ;   694    sigval_t sigev_value ;
695    int sigev_signo ;   695    int sigev_signo ;
696    int sigev_notify ;   696    int sigev_notify ;
697    union __anonunion__sigev_un_48 _sigev_un ;   697    union __anonunion__sigev_un_48 _sigev_un ;
698 };   698 };
699 typedef struct sigevent sigevent_t;   699 typedef struct sigevent sigevent_t;
700 enum __anonenum_50 {   700 enum __anonenum_50 {
701     SIGEV_SIGNAL = 0,   701     SIGEV_SIGNAL = 0,
702     SIGEV_NONE = 1,   702     SIGEV_NONE = 1,
703     SIGEV_THREAD = 2,   703     SIGEV_THREAD = 2,
704     SIGEV_THREAD_ID = 4   704     SIGEV_THREAD_ID = 4
705 } ;   705 } ;
706 typedef void (*__sighandler_t)(int  );   706 typedef void (*__sighandler_t)(int  );
707 typedef void (*sig_t)(int  );   707 typedef void (*sig_t)(int  );
708 union __anonunion___sigaction_handler_51 {   708 union __anonunion___sigaction_handler_51 {
709    void (*sa_handler)(int  ) ;   709    void (*sa_handler)(int  ) ;
710    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;   710    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;
711 };   711 };
712 struct sigaction {   712 struct sigaction {
713    union __anonunion___sigaction_handler_51 __sigaction_handler ;   713    union __anonunion___sigaction_handler_51 __sigaction_handler ;
714    __sigset_t sa_mask ;   714    __sigset_t sa_mask ;
715    int sa_flags ;   715    int sa_flags ;
716    void (*sa_restorer)(void) ;   716    void (*sa_restorer)(void) ;
717 };   717 };
718 struct sigvec {   718 struct sigvec {
719    void (*sv_handler)(int  ) ;   719    void (*sv_handler)(int  ) ;
720    int sv_mask ;   720    int sv_mask ;
721    int sv_flags ;   721    int sv_flags ;
722 };   722 };
723 typedef signed char __s8;   723 typedef signed char __s8;
724 typedef unsigned char __u8;   724 typedef unsigned char __u8;
725 typedef short __s16;   725 typedef short __s16;
726 typedef unsigned short __u16;   726 typedef unsigned short __u16;
727 typedef int __s32;   727 typedef int __s32;
728 typedef unsigned int __u32;   728 typedef unsigned int __u32;
729 typedef long long __s64;   729 typedef long long __s64;
730 typedef unsigned long long __u64;   730 typedef unsigned long long __u64;
731 typedef unsigned short umode_t;   731 typedef unsigned short umode_t;
732 struct __anonstruct___kernel_fd_set_52 {   732 struct __anonstruct___kernel_fd_set_52 {
733    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;   733    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;
734 };   734 };
735 typedef struct __anonstruct___kernel_fd_set_52 __kernel_fd_set;   735 typedef struct __anonstruct___kernel_fd_set_52 __kernel_fd_set;
736 typedef void (*__kernel_sighandler_t)(int  );   736 typedef void (*__kernel_sighandler_t)(int  );
737 typedef int __kernel_key_t;   737 typedef int __kernel_key_t;
738 typedef int __kernel_mqd_t;   738 typedef int __kernel_mqd_t;
739 typedef unsigned long __kernel_ino_t;   739 typedef unsigned long __kernel_ino_t;
740 typedef unsigned short __kernel_mode_t;   740 typedef unsigned short __kernel_mode_t;
741 typedef unsigned short __kernel_nlink_t;   741 typedef unsigned short __kernel_nlink_t;
742 typedef long __kernel_off_t;   742 typedef long __kernel_off_t;
743 typedef int __kernel_pid_t;   743 typedef int __kernel_pid_t;
744 typedef unsigned short __kernel_ipc_pid_t;   744 typedef unsigned short __kernel_ipc_pid_t;
745 typedef unsigned short __kernel_uid_t;   745 typedef unsigned short __kernel_uid_t;
746 typedef unsigned short __kernel_gid_t;   746 typedef unsigned short __kernel_gid_t;
747 typedef unsigned int __kernel_size_t;   747 typedef unsigned int __kernel_size_t;
748 typedef int __kernel_ssize_t;   748 typedef int __kernel_ssize_t;
749 typedef int __kernel_ptrdiff_t;   749 typedef int __kernel_ptrdiff_t;
750 typedef long __kernel_time_t;   750 typedef long __kernel_time_t;
751 typedef long __kernel_suseconds_t;   751 typedef long __kernel_suseconds_t;
752 typedef long __kernel_clock_t;   752 typedef long __kernel_clock_t;
753 typedef int __kernel_timer_t;   753 typedef int __kernel_timer_t;
754 typedef int __kernel_clockid_t;   754 typedef int __kernel_clockid_t;
755 typedef int __kernel_daddr_t;   755 typedef int __kernel_daddr_t;
756 typedef char *__kernel_caddr_t;   756 typedef char *__kernel_caddr_t;
757 typedef unsigned short __kernel_uid16_t;   757 typedef unsigned short __kernel_uid16_t;
758 typedef unsigned short __kernel_gid16_t;   758 typedef unsigned short __kernel_gid16_t;
759 typedef unsigned int __kernel_uid32_t;   759 typedef unsigned int __kernel_uid32_t;
760 typedef unsigned int __kernel_gid32_t;   760 typedef unsigned int __kernel_gid32_t;
761 typedef unsigned short __kernel_old_uid_t;   761 typedef unsigned short __kernel_old_uid_t;
762 typedef unsigned short __kernel_old_gid_t;   762 typedef unsigned short __kernel_old_gid_t;
763 typedef unsigned short __kernel_old_dev_t;   763 typedef unsigned short __kernel_old_dev_t;
764 typedef long long __kernel_loff_t;   764 typedef long long __kernel_loff_t;
765 struct __anonstruct___kernel_fsid_t_53 {   765 struct __anonstruct___kernel_fsid_t_53 {
766    int val[2] ;   766    int val[2] ;
767 };   767 };
768 typedef struct __anonstruct___kernel_fsid_t_53 __kernel_fsid_t;   768 typedef struct __anonstruct___kernel_fsid_t_53 __kernel_fsid_t;
769 typedef __u16 __le16;   769 typedef __u16 __le16;
770 typedef __u16 __be16;   770 typedef __u16 __be16;
771 typedef __u32 __le32;   771 typedef __u32 __le32;
772 typedef __u32 __be32;   772 typedef __u32 __be32;
773 typedef __u64 __le64;   773 typedef __u64 __le64;
774 typedef __u64 __be64;   774 typedef __u64 __be64;
775 typedef __u16 __sum16;   775 typedef __u16 __sum16;
776 typedef __u32 __wsum;   776 typedef __u32 __wsum;
777 struct _fpx_sw_bytes {   777 struct _fpx_sw_bytes {
778    __u32 magic1 ;   778    __u32 magic1 ;
779    __u32 extended_size ;   779    __u32 extended_size ;
780    __u64 xstate_bv ;   780    __u64 xstate_bv ;
781    __u32 xstate_size ;   781    __u32 xstate_size ;
782    __u32 padding[7] ;   782    __u32 padding[7] ;
783 };   783 };
784 struct _fpreg {   784 struct _fpreg {
785    unsigned short significand[4] ;   785    unsigned short significand[4] ;
786    unsigned short exponent ;   786    unsigned short exponent ;
787 };   787 };
788 struct _fpxreg {   788 struct _fpxreg {
789    unsigned short significand[4] ;   789    unsigned short significand[4] ;
790    unsigned short exponent ;   790    unsigned short exponent ;
791    unsigned short padding[3] ;   791    unsigned short padding[3] ;
792 };   792 };
793 struct _xmmreg {   793 struct _xmmreg {
794    unsigned long element[4] ;   794    unsigned long element[4] ;
795 };   795 };
796 union __anonunion____missing_field_name_54 {   796 union __anonunion____missing_field_name_54 {
797    unsigned long padding2[12] ;   797    unsigned long padding2[12] ;
798    struct _fpx_sw_bytes sw_reserved ;   798    struct _fpx_sw_bytes sw_reserved ;
799 };   799 };
800 struct _fpstate {   800 struct _fpstate {
801    unsigned long cw ;   801    unsigned long cw ;
802    unsigned long sw ;   802    unsigned long sw ;
803    unsigned long tag ;   803    unsigned long tag ;
804    unsigned long ipoff ;   804    unsigned long ipoff ;
805    unsigned long cssel ;   805    unsigned long cssel ;
806    unsigned long dataoff ;   806    unsigned long dataoff ;
807    unsigned long datasel ;   807    unsigned long datasel ;
808    struct _fpreg _st[8] ;   808    struct _fpreg _st[8] ;
809    unsigned short status ;   809    unsigned short status ;
810    unsigned short magic ;   810    unsigned short magic ;
811    unsigned long _fxsr_env[6] ;   811    unsigned long _fxsr_env[6] ;
812    unsigned long mxcsr ;   812    unsigned long mxcsr ;
813    unsigned long reserved ;   813    unsigned long reserved ;
814    struct _fpxreg _fxsr_st[8] ;   814    struct _fpxreg _fxsr_st[8] ;
815    struct _xmmreg _xmm[8] ;   815    struct _xmmreg _xmm[8] ;
816    unsigned long padding1[44] ;   816    unsigned long padding1[44] ;
817    union __anonunion____missing_field_name_54 __annonCompField2 ;   817    union __anonunion____missing_field_name_54 __annonCompField2 ;
818 };   818 };
819 struct sigcontext {   819 struct sigcontext {
820    unsigned short gs ;   820    unsigned short gs ;
821    unsigned short __gsh ;   821    unsigned short __gsh ;
822    unsigned short fs ;   822    unsigned short fs ;
823    unsigned short __fsh ;   823    unsigned short __fsh ;
824    unsigned short es ;   824    unsigned short es ;
825    unsigned short __esh ;   825    unsigned short __esh ;
826    unsigned short ds ;   826    unsigned short ds ;
827    unsigned short __dsh ;   827    unsigned short __dsh ;
828    unsigned long edi ;   828    unsigned long edi ;
829    unsigned long esi ;   829    unsigned long esi ;
830    unsigned long ebp ;   830    unsigned long ebp ;
831    unsigned long esp ;   831    unsigned long esp ;
832    unsigned long ebx ;   832    unsigned long ebx ;
833    unsigned long edx ;   833    unsigned long edx ;
834    unsigned long ecx ;   834    unsigned long ecx ;
835    unsigned long eax ;   835    unsigned long eax ;
836    unsigned long trapno ;   836    unsigned long trapno ;
837    unsigned long err ;   837    unsigned long err ;
838    unsigned long eip ;   838    unsigned long eip ;
839    unsigned short cs ;   839    unsigned short cs ;
840    unsigned short __csh ;   840    unsigned short __csh ;
841    unsigned long eflags ;   841    unsigned long eflags ;
842    unsigned long esp_at_signal ;   842    unsigned long esp_at_signal ;
843    unsigned short ss ;   843    unsigned short ss ;
844    unsigned short __ssh ;   844    unsigned short __ssh ;
845    struct _fpstate *fpstate ;   845    struct _fpstate *fpstate ;
846    unsigned long oldmask ;   846    unsigned long oldmask ;
847    unsigned long cr2 ;   847    unsigned long cr2 ;
848 };   848 };
849 struct _xsave_hdr {   849 struct _xsave_hdr {
850    __u64 xstate_bv ;   850    __u64 xstate_bv ;
851    __u64 reserved1[2] ;   851    __u64 reserved1[2] ;
852    __u64 reserved2[5] ;   852    __u64 reserved2[5] ;
853 };   853 };
854 struct _ymmh_state {   854 struct _ymmh_state {
855    __u32 ymmh_space[64] ;   855    __u32 ymmh_space[64] ;
856 };   856 };
857 struct _xstate {   857 struct _xstate {
858    struct _fpstate fpstate ;   858    struct _fpstate fpstate ;
859    struct _xsave_hdr xstate_hdr ;   859    struct _xsave_hdr xstate_hdr ;
860    struct _ymmh_state ymmh ;   860    struct _ymmh_state ymmh ;
861 };   861 };
862 struct sigstack {   862 struct sigstack {
863    void *ss_sp ;   863    void *ss_sp ;
864    int ss_onstack ;   864    int ss_onstack ;
865 };   865 };
866 enum __anonenum_55 {   866 enum __anonenum_55 {
867     SS_ONSTACK = 1,   867     SS_ONSTACK = 1,
868     SS_DISABLE = 2   868     SS_DISABLE = 2
869 } ;   869 } ;
870 struct sigaltstack {   870 struct sigaltstack {
871    void *ss_sp ;   871    void *ss_sp ;
872    int ss_flags ;   872    int ss_flags ;
873    size_t ss_size ;   873    size_t ss_size ;
874 };   874 };
875 typedef struct sigaltstack stack_t;   875 typedef struct sigaltstack stack_t;
876 typedef int greg_t;   876 typedef int greg_t;
877 typedef greg_t gregset_t[19];   877 typedef greg_t gregset_t[19];
878 struct _libc_fpreg {   878 struct _libc_fpreg {
879    unsigned short significand[4] ;   879    unsigned short significand[4] ;
880    unsigned short exponent ;   880    unsigned short exponent ;
881 };   881 };
882 struct _libc_fpstate {   882 struct _libc_fpstate {
883    unsigned long cw ;   883    unsigned long cw ;
884    unsigned long sw ;   884    unsigned long sw ;
885    unsigned long tag ;   885    unsigned long tag ;
886    unsigned long ipoff ;   886    unsigned long ipoff ;
887    unsigned long cssel ;   887    unsigned long cssel ;
888    unsigned long dataoff ;   888    unsigned long dataoff ;
889    unsigned long datasel ;   889    unsigned long datasel ;
890    struct _libc_fpreg _st[8] ;   890    struct _libc_fpreg _st[8] ;
891    unsigned long status ;   891    unsigned long status ;
892 };   892 };
893 typedef struct _libc_fpstate *fpregset_t;   893 typedef struct _libc_fpstate *fpregset_t;
894 struct __anonstruct_mcontext_t_56 {   894 struct __anonstruct_mcontext_t_56 {
895    gregset_t gregs ;   895    gregset_t gregs ;
896    fpregset_t fpregs ;   896    fpregset_t fpregs ;
897    unsigned long oldmask ;   897    unsigned long oldmask ;
898    unsigned long cr2 ;   898    unsigned long cr2 ;
899 };   899 };
900 typedef struct __anonstruct_mcontext_t_56 mcontext_t;   900 typedef struct __anonstruct_mcontext_t_56 mcontext_t;
901 struct ucontext {   901 struct ucontext {
902    unsigned long uc_flags ;   902    unsigned long uc_flags ;
903    struct ucontext *uc_link ;   903    struct ucontext *uc_link ;
904    stack_t uc_stack ;   904    stack_t uc_stack ;
905    mcontext_t uc_mcontext ;   905    mcontext_t uc_mcontext ;
906    __sigset_t uc_sigmask ;   906    __sigset_t uc_sigmask ;
907    struct _libc_fpstate __fpregs_mem ;   907    struct _libc_fpstate __fpregs_mem ;
908 };   908 };
909 typedef struct ucontext ucontext_t;   909 typedef struct ucontext ucontext_t;
910 struct tm {   910 struct tm {
911    int tm_sec ;   911    int tm_sec ;
912    int tm_min ;   912    int tm_min ;
913    int tm_hour ;   913    int tm_hour ;
914    int tm_mday ;   914    int tm_mday ;
915    int tm_mon ;   915    int tm_mon ;
916    int tm_year ;   916    int tm_year ;
917    int tm_wday ;   917    int tm_wday ;
918    int tm_yday ;   918    int tm_yday ;
919    int tm_isdst ;   919    int tm_isdst ;
920    long tm_gmtoff ;   920    long tm_gmtoff ;
921    char const   *tm_zone ;   921    char const   *tm_zone ;
922 };   922 };
923 struct itimerspec {   923 struct itimerspec {
924    struct timespec it_interval ;   924    struct timespec it_interval ;
925    struct timespec it_value ;   925    struct timespec it_value ;
926 };   926 };
927 struct sigevent;   927 struct sigevent;
928 struct __locale_data;   928 struct __locale_data;
929 struct __locale_struct {   929 struct __locale_struct {
930    struct __locale_data *__locales[13] ;   930    struct __locale_data *__locales[13] ;
931    unsigned short const   *__ctype_b ;   931    unsigned short const   *__ctype_b ;
932    int const   *__ctype_tolower ;   932    int const   *__ctype_tolower ;
933    int const   *__ctype_toupper ;   933    int const   *__ctype_toupper ;
934    char const   *__names[13] ;   934    char const   *__names[13] ;
935 };   935 };
936 typedef struct __locale_struct *__locale_t;   936 typedef struct __locale_struct *__locale_t;
937 typedef __locale_t locale_t;   937 typedef __locale_t locale_t;
938 enum __anonenum_GBookmarkFileError_57 {   938 enum __anonenum_GBookmarkFileError_57 {
939     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,   939     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,
940     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,   940     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,
941     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,   941     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,
942     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,   942     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,
943     G_BOOKMARK_FILE_ERROR_READ = 4,   943     G_BOOKMARK_FILE_ERROR_READ = 4,
944     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,   944     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,
945     G_BOOKMARK_FILE_ERROR_WRITE = 6,   945     G_BOOKMARK_FILE_ERROR_WRITE = 6,
946     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7   946     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7
947 } ;   947 } ;
948 typedef enum __anonenum_GBookmarkFileError_57 GBookmarkFileError;   948 typedef enum __anonenum_GBookmarkFileError_57 GBookmarkFileError;
949 struct _GBookmarkFile;   949 struct _GBookmarkFile;
950 typedef struct _GBookmarkFile GBookmarkFile;   950 typedef struct _GBookmarkFile GBookmarkFile;
951 enum __anonenum_GSliceConfig_58 {   951 enum __anonenum_GSliceConfig_58 {
952     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,   952     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
953     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,   953     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,
954     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,   954     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,
955     G_SLICE_CONFIG_COLOR_INCREMENT = 4,   955     G_SLICE_CONFIG_COLOR_INCREMENT = 4,
956     G_SLICE_CONFIG_CHUNK_SIZES = 5,   956     G_SLICE_CONFIG_CHUNK_SIZES = 5,
957     G_SLICE_CONFIG_CONTENTION_COUNTER = 6   957     G_SLICE_CONFIG_CONTENTION_COUNTER = 6
958 } ;   958 } ;
959 typedef enum __anonenum_GSliceConfig_58 GSliceConfig;   959 typedef enum __anonenum_GSliceConfig_58 GSliceConfig;
960 struct _GMemVTable;   960 struct _GMemVTable;
961 typedef struct _GMemVTable GMemVTable;   961 typedef struct _GMemVTable GMemVTable;
962 struct _GMemVTable {   962 struct _GMemVTable {
963    gpointer (*malloc)(gsize n_bytes ) ;   963    gpointer (*malloc)(gsize n_bytes ) ;
964    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;   964    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;
965    void (*free)(gpointer mem ) ;   965    void (*free)(gpointer mem ) ;
966    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;   966    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;
967    gpointer (*try_malloc)(gsize n_bytes ) ;   967    gpointer (*try_malloc)(gsize n_bytes ) ;
968    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;   968    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;
969 };   969 };
970 struct _GAllocator;   970 struct _GAllocator;
971 typedef struct _GAllocator GAllocator;   971 typedef struct _GAllocator GAllocator;
972 struct _GMemChunk;   972 struct _GMemChunk;
973 typedef struct _GMemChunk GMemChunk;   973 typedef struct _GMemChunk GMemChunk;
974 struct _GList;   974 struct _GList;
975 typedef struct _GList GList;   975 typedef struct _GList GList;
976 struct _GList {   976 struct _GList {
977    gpointer data ;   977    gpointer data ;
978    GList *next ;   978    GList *next ;
979    GList *prev ;   979    GList *prev ;
980 };   980 };
981 struct _GCache;   981 struct _GCache;
982 typedef struct _GCache GCache;   982 typedef struct _GCache GCache;
983 typedef gpointer (*GCacheNewFunc)(gpointer key );   983 typedef gpointer (*GCacheNewFunc)(gpointer key );
984 typedef gpointer (*GCacheDupFunc)(gpointer value );   984 typedef gpointer (*GCacheDupFunc)(gpointer value );
985 typedef void (*GCacheDestroyFunc)(gpointer value );   985 typedef void (*GCacheDestroyFunc)(gpointer value );
986 enum __anonenum_GChecksumType_59 {   986 enum __anonenum_GChecksumType_59 {
987     G_CHECKSUM_MD5 = 0,   987     G_CHECKSUM_MD5 = 0,
988     G_CHECKSUM_SHA1 = 1,   988     G_CHECKSUM_SHA1 = 1,
989     G_CHECKSUM_SHA256 = 2   989     G_CHECKSUM_SHA256 = 2
990 } ;   990 } ;
991 typedef enum __anonenum_GChecksumType_59 GChecksumType;   991 typedef enum __anonenum_GChecksumType_59 GChecksumType;
992 struct _GChecksum;   992 struct _GChecksum;
993 typedef struct _GChecksum GChecksum;   993 typedef struct _GChecksum GChecksum;
994 struct _GCompletion;   994 struct _GCompletion;
995 typedef struct _GCompletion GCompletion;   995 typedef struct _GCompletion GCompletion;
996 typedef gchar *(*GCompletionFunc)(gpointer  );   996 typedef gchar *(*GCompletionFunc)(gpointer  );
997 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,   997 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,
998                                        gsize n );   998                                        gsize n );
999 struct _GCompletion {   999 struct _GCompletion {
1000    GList *items ;   1000    GList *items ;
1001    gchar *(*func)(gpointer  ) ;   1001    gchar *(*func)(gpointer  ) ;
1002    gchar *prefix ;   1002    gchar *prefix ;
1003    GList *cache ;   1003    GList *cache ;
1004    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   1004    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
1005 };   1005 };
1006 enum __anonenum_GConvertError_60 {   1006 enum __anonenum_GConvertError_60 {
1007     G_CONVERT_ERROR_NO_CONVERSION = 0,   1007     G_CONVERT_ERROR_NO_CONVERSION = 0,
1008     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,   1008     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,
1009     G_CONVERT_ERROR_FAILED = 2,   1009     G_CONVERT_ERROR_FAILED = 2,
1010     G_CONVERT_ERROR_PARTIAL_INPUT = 3,   1010     G_CONVERT_ERROR_PARTIAL_INPUT = 3,
1011     G_CONVERT_ERROR_BAD_URI = 4,   1011     G_CONVERT_ERROR_BAD_URI = 4,
1012     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5   1012     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5
1013 } ;   1013 } ;
1014 typedef enum __anonenum_GConvertError_60 GConvertError;   1014 typedef enum __anonenum_GConvertError_60 GConvertError;
1015 struct _GIConv;   1015 struct _GIConv;
1016 typedef struct _GIConv *GIConv;   1016 typedef struct _GIConv *GIConv;
1017 struct _GData;   1017 struct _GData;
1018 typedef struct _GData GData;   1018 typedef struct _GData GData;
1019 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,   1019 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,
1020                                  gpointer user_data );   1020                                  gpointer user_data );
1021 typedef gint32 GTime;   1021 typedef gint32 GTime;
1022 typedef guint16 GDateYear;   1022 typedef guint16 GDateYear;
1023 typedef guint8 GDateDay;   1023 typedef guint8 GDateDay;
1024 struct _GDate;   1024 struct _GDate;
1025 typedef struct _GDate GDate;   1025 typedef struct _GDate GDate;
1026 enum __anonenum_GDateDMY_61 {   1026 enum __anonenum_GDateDMY_61 {
1027     G_DATE_DAY = 0,   1027     G_DATE_DAY = 0,
1028     G_DATE_MONTH = 1,   1028     G_DATE_MONTH = 1,
1029     G_DATE_YEAR = 2   1029     G_DATE_YEAR = 2
1030 } ;   1030 } ;
1031 typedef enum __anonenum_GDateDMY_61 GDateDMY;   1031 typedef enum __anonenum_GDateDMY_61 GDateDMY;
1032 enum __anonenum_GDateWeekday_62 {   1032 enum __anonenum_GDateWeekday_62 {
1033     G_DATE_BAD_WEEKDAY = 0,   1033     G_DATE_BAD_WEEKDAY = 0,
1034     G_DATE_MONDAY = 1,   1034     G_DATE_MONDAY = 1,
1035     G_DATE_TUESDAY = 2,   1035     G_DATE_TUESDAY = 2,
1036     G_DATE_WEDNESDAY = 3,   1036     G_DATE_WEDNESDAY = 3,
1037     G_DATE_THURSDAY = 4,   1037     G_DATE_THURSDAY = 4,
1038     G_DATE_FRIDAY = 5,   1038     G_DATE_FRIDAY = 5,
1039     G_DATE_SATURDAY = 6,   1039     G_DATE_SATURDAY = 6,
1040     G_DATE_SUNDAY = 7   1040     G_DATE_SUNDAY = 7
1041 } ;   1041 } ;
1042 typedef enum __anonenum_GDateWeekday_62 GDateWeekday;   1042 typedef enum __anonenum_GDateWeekday_62 GDateWeekday;
1043 enum __anonenum_GDateMonth_63 {   1043 enum __anonenum_GDateMonth_63 {
1044     G_DATE_BAD_MONTH = 0,   1044     G_DATE_BAD_MONTH = 0,
1045     G_DATE_JANUARY = 1,   1045     G_DATE_JANUARY = 1,
1046     G_DATE_FEBRUARY = 2,   1046     G_DATE_FEBRUARY = 2,
1047     G_DATE_MARCH = 3,   1047     G_DATE_MARCH = 3,
1048     G_DATE_APRIL = 4,   1048     G_DATE_APRIL = 4,
1049     G_DATE_MAY = 5,   1049     G_DATE_MAY = 5,
1050     G_DATE_JUNE = 6,   1050     G_DATE_JUNE = 6,
1051     G_DATE_JULY = 7,   1051     G_DATE_JULY = 7,
1052     G_DATE_AUGUST = 8,   1052     G_DATE_AUGUST = 8,
1053     G_DATE_SEPTEMBER = 9,   1053     G_DATE_SEPTEMBER = 9,
1054     G_DATE_OCTOBER = 10,   1054     G_DATE_OCTOBER = 10,
1055     G_DATE_NOVEMBER = 11,   1055     G_DATE_NOVEMBER = 11,
1056     G_DATE_DECEMBER = 12   1056     G_DATE_DECEMBER = 12
1057 } ;   1057 } ;
1058 typedef enum __anonenum_GDateMonth_63 GDateMonth;   1058 typedef enum __anonenum_GDateMonth_63 GDateMonth;
1059 struct _GDate {   1059 struct _GDate {
1060    guint julian_days : 32 ;   1060    guint julian_days : 32 ;
1061    guint julian : 1 ;   1061    guint julian : 1 ;
1062    guint dmy : 1 ;   1062    guint dmy : 1 ;
1063    guint day : 6 ;   1063    guint day : 6 ;
1064    guint month : 4 ;   1064    guint month : 4 ;
1065    guint year : 16 ;   1065    guint year : 16 ;
1066 };   1066 };
1067 struct _GDir;   1067 struct _GDir;
1068 typedef struct _GDir GDir;   1068 typedef struct _GDir GDir;
1069 enum __anonenum_GFileError_64 {   1069 enum __anonenum_GFileError_64 {
1070     G_FILE_ERROR_EXIST = 0,   1070     G_FILE_ERROR_EXIST = 0,
1071     G_FILE_ERROR_ISDIR = 1,   1071     G_FILE_ERROR_ISDIR = 1,
1072     G_FILE_ERROR_ACCES = 2,   1072     G_FILE_ERROR_ACCES = 2,
1073     G_FILE_ERROR_NAMETOOLONG = 3,   1073     G_FILE_ERROR_NAMETOOLONG = 3,
1074     G_FILE_ERROR_NOENT = 4,   1074     G_FILE_ERROR_NOENT = 4,
1075     G_FILE_ERROR_NOTDIR = 5,   1075     G_FILE_ERROR_NOTDIR = 5,
1076     G_FILE_ERROR_NXIO = 6,   1076     G_FILE_ERROR_NXIO = 6,
1077     G_FILE_ERROR_NODEV = 7,   1077     G_FILE_ERROR_NODEV = 7,
1078     G_FILE_ERROR_ROFS = 8,   1078     G_FILE_ERROR_ROFS = 8,
1079     G_FILE_ERROR_TXTBSY = 9,   1079     G_FILE_ERROR_TXTBSY = 9,
1080     G_FILE_ERROR_FAULT = 10,   1080     G_FILE_ERROR_FAULT = 10,
1081     G_FILE_ERROR_LOOP = 11,   1081     G_FILE_ERROR_LOOP = 11,
1082     G_FILE_ERROR_NOSPC = 12,   1082     G_FILE_ERROR_NOSPC = 12,
1083     G_FILE_ERROR_NOMEM = 13,   1083     G_FILE_ERROR_NOMEM = 13,
1084     G_FILE_ERROR_MFILE = 14,   1084     G_FILE_ERROR_MFILE = 14,
1085     G_FILE_ERROR_NFILE = 15,   1085     G_FILE_ERROR_NFILE = 15,
1086     G_FILE_ERROR_BADF = 16,   1086     G_FILE_ERROR_BADF = 16,
1087     G_FILE_ERROR_INVAL = 17,   1087     G_FILE_ERROR_INVAL = 17,
1088     G_FILE_ERROR_PIPE = 18,   1088     G_FILE_ERROR_PIPE = 18,
1089     G_FILE_ERROR_AGAIN = 19,   1089     G_FILE_ERROR_AGAIN = 19,
1090     G_FILE_ERROR_INTR = 20,   1090     G_FILE_ERROR_INTR = 20,
1091     G_FILE_ERROR_IO = 21,   1091     G_FILE_ERROR_IO = 21,
1092     G_FILE_ERROR_PERM = 22,   1092     G_FILE_ERROR_PERM = 22,
1093     G_FILE_ERROR_NOSYS = 23,   1093     G_FILE_ERROR_NOSYS = 23,
1094     G_FILE_ERROR_FAILED = 24   1094     G_FILE_ERROR_FAILED = 24
1095 } ;   1095 } ;
1096 typedef enum __anonenum_GFileError_64 GFileError;   1096 typedef enum __anonenum_GFileError_64 GFileError;
1097 enum __anonenum_GFileTest_65 {   1097 enum __anonenum_GFileTest_65 {
1098     G_FILE_TEST_IS_REGULAR = 1,   1098     G_FILE_TEST_IS_REGULAR = 1,
1099     G_FILE_TEST_IS_SYMLINK = 2,   1099     G_FILE_TEST_IS_SYMLINK = 2,
1100     G_FILE_TEST_IS_DIR = 4,   1100     G_FILE_TEST_IS_DIR = 4,
1101     G_FILE_TEST_IS_EXECUTABLE = 8,   1101     G_FILE_TEST_IS_EXECUTABLE = 8,
1102     G_FILE_TEST_EXISTS = 16   1102     G_FILE_TEST_EXISTS = 16
1103 } ;   1103 } ;
1104 typedef enum __anonenum_GFileTest_65 GFileTest;   1104 typedef enum __anonenum_GFileTest_65 GFileTest;
1105 struct _GHashTable;   1105 struct _GHashTable;
1106 typedef struct _GHashTable GHashTable;   1106 typedef struct _GHashTable GHashTable;
1107 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );   1107 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );
1108 struct _GHashTableIter;   1108 struct _GHashTableIter;
1109 typedef struct _GHashTableIter GHashTableIter;   1109 typedef struct _GHashTableIter GHashTableIter;
1110 struct _GHashTableIter {   1110 struct _GHashTableIter {
1111    gpointer dummy1 ;   1111    gpointer dummy1 ;
1112    gpointer dummy2 ;   1112    gpointer dummy2 ;
1113    gpointer dummy3 ;   1113    gpointer dummy3 ;
1114    int dummy4 ;   1114    int dummy4 ;
1115    gboolean dummy5 ;   1115    gboolean dummy5 ;
1116    gpointer dummy6 ;   1116    gpointer dummy6 ;
1117 };   1117 };
1118 struct _GHook;   1118 struct _GHook;
1119 typedef struct _GHook GHook;   1119 typedef struct _GHook GHook;
1120 struct _GHookList;   1120 struct _GHookList;
1121 typedef struct _GHookList GHookList;   1121 typedef struct _GHookList GHookList;
1122 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );   1122 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );
1123 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );   1123 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );
1124 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );   1124 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );
1125 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );   1125 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );
1126 typedef void (*GHookFunc)(gpointer data );   1126 typedef void (*GHookFunc)(gpointer data );
1127 typedef gboolean (*GHookCheckFunc)(gpointer data );   1127 typedef gboolean (*GHookCheckFunc)(gpointer data );
1128 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );   1128 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );
1129 enum __anonenum_GHookFlagMask_66 {   1129 enum __anonenum_GHookFlagMask_66 {
1130     G_HOOK_FLAG_ACTIVE = 1,   1130     G_HOOK_FLAG_ACTIVE = 1,
1131     G_HOOK_FLAG_IN_CALL = 2,   1131     G_HOOK_FLAG_IN_CALL = 2,
1132     G_HOOK_FLAG_MASK = 15   1132     G_HOOK_FLAG_MASK = 15
1133 } ;   1133 } ;
1134 typedef enum __anonenum_GHookFlagMask_66 GHookFlagMask;   1134 typedef enum __anonenum_GHookFlagMask_66 GHookFlagMask;
1135 struct _GHookList {   1135 struct _GHookList {
1136    gulong seq_id ;   1136    gulong seq_id ;
1137    guint hook_size : 16 ;   1137    guint hook_size : 16 ;
1138    guint is_setup : 1 ;   1138    guint is_setup : 1 ;
1139    GHook *hooks ;   1139    GHook *hooks ;
1140    gpointer dummy3 ;   1140    gpointer dummy3 ;
1141    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;   1141    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;
1142    gpointer dummy[2] ;   1142    gpointer dummy[2] ;
1143 };   1143 };
1144 struct _GHook {   1144 struct _GHook {
1145    gpointer data ;   1145    gpointer data ;
1146    GHook *next ;   1146    GHook *next ;
1147    GHook *prev ;   1147    GHook *prev ;
1148    guint ref_count ;   1148    guint ref_count ;
1149    gulong hook_id ;   1149    gulong hook_id ;
1150    guint flags ;   1150    guint flags ;
1151    gpointer func ;   1151    gpointer func ;
1152    void (*destroy)(gpointer data ) ;   1152    void (*destroy)(gpointer data ) ;
1153 };   1153 };
1154 struct _GPollFD;   1154 struct _GPollFD;
1155 typedef struct _GPollFD GPollFD;   1155 typedef struct _GPollFD GPollFD;
1156 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );   1156 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );
1157 struct _GPollFD {   1157 struct _GPollFD {
1158    gint fd ;   1158    gint fd ;
1159    gushort events ;   1159    gushort events ;
1160    gushort revents ;   1160    gushort revents ;
1161 };   1161 };
1162 struct _GSList;   1162 struct _GSList;
1163 typedef struct _GSList GSList;   1163 typedef struct _GSList GSList;
1164 struct _GSList {   1164 struct _GSList {
1165    gpointer data ;   1165    gpointer data ;
1166    GSList *next ;   1166    GSList *next ;
1167 };   1167 };
1168 struct _GMainContext;   1168 struct _GMainContext;
1169 typedef struct _GMainContext GMainContext;   1169 typedef struct _GMainContext GMainContext;
1170 struct _GMainLoop;   1170 struct _GMainLoop;
1171 typedef struct _GMainLoop GMainLoop;   1171 typedef struct _GMainLoop GMainLoop;
1172 struct _GSource;   1172 struct _GSource;
1173 typedef struct _GSource GSource;   1173 typedef struct _GSource GSource;
1174 struct _GSourceCallbackFuncs;   1174 struct _GSourceCallbackFuncs;
1175 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;   1175 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
1176 struct _GSourceFuncs;   1176 struct _GSourceFuncs;
1177 typedef struct _GSourceFuncs GSourceFuncs;   1177 typedef struct _GSourceFuncs GSourceFuncs;
1178 typedef gboolean (*GSourceFunc)(gpointer data );   1178 typedef gboolean (*GSourceFunc)(gpointer data );
1179 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );   1179 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );
1180 struct _GSource {   1180 struct _GSource {
1181    gpointer callback_data ;   1181    gpointer callback_data ;
1182    GSourceCallbackFuncs *callback_funcs ;   1182    GSourceCallbackFuncs *callback_funcs ;
1183    GSourceFuncs *source_funcs ;   1183    GSourceFuncs *source_funcs ;
1184    guint ref_count ;   1184    guint ref_count ;
1185    GMainContext *context ;   1185    GMainContext *context ;
1186    gint priority ;   1186    gint priority ;
1187    guint flags ;   1187    guint flags ;
1188    guint source_id ;   1188    guint source_id ;
1189    GSList *poll_fds ;   1189    GSList *poll_fds ;
1190    GSource *prev ;   1190    GSource *prev ;
1191    GSource *next ;   1191    GSource *next ;
1192    gpointer reserved1 ;   1192    gpointer reserved1 ;
1193    gpointer reserved2 ;   1193    gpointer reserved2 ;
1194 };   1194 };
1195 struct _GSourceCallbackFuncs {   1195 struct _GSourceCallbackFuncs {
1196    void (*ref)(gpointer cb_data ) ;   1196    void (*ref)(gpointer cb_data ) ;
1197    void (*unref)(gpointer cb_data ) ;   1197    void (*unref)(gpointer cb_data ) ;
1198    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,   1198    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,
1199                gpointer *data ) ;   1199                gpointer *data ) ;
1200 };   1200 };
1201 typedef void (*GSourceDummyMarshal)(void);   1201 typedef void (*GSourceDummyMarshal)(void);
1202 struct _GSourceFuncs {   1202 struct _GSourceFuncs {
1203    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;   1203    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;
1204    gboolean (*check)(GSource *source ) ;   1204    gboolean (*check)(GSource *source ) ;
1205    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,   1205    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,
1206                         gpointer user_data ) ;   1206                         gpointer user_data ) ;
1207    void (*finalize)(GSource *source ) ;   1207    void (*finalize)(GSource *source ) ;
1208    gboolean (*closure_callback)(gpointer data ) ;   1208    gboolean (*closure_callback)(gpointer data ) ;
1209    void (*closure_marshal)(void) ;   1209    void (*closure_marshal)(void) ;
1210 };   1210 };
1211 typedef guint32 gunichar;   1211 typedef guint32 gunichar;
1212 typedef guint16 gunichar2;   1212 typedef guint16 gunichar2;
1213 enum __anonenum_GUnicodeType_67 {   1213 enum __anonenum_GUnicodeType_67 {
1214     G_UNICODE_CONTROL = 0,   1214     G_UNICODE_CONTROL = 0,
1215     G_UNICODE_FORMAT = 1,   1215     G_UNICODE_FORMAT = 1,
1216     G_UNICODE_UNASSIGNED = 2,   1216     G_UNICODE_UNASSIGNED = 2,
1217     G_UNICODE_PRIVATE_USE = 3,   1217     G_UNICODE_PRIVATE_USE = 3,
1218     G_UNICODE_SURROGATE = 4,   1218     G_UNICODE_SURROGATE = 4,
1219     G_UNICODE_LOWERCASE_LETTER = 5,   1219     G_UNICODE_LOWERCASE_LETTER = 5,
1220     G_UNICODE_MODIFIER_LETTER = 6,   1220     G_UNICODE_MODIFIER_LETTER = 6,
1221     G_UNICODE_OTHER_LETTER = 7,   1221     G_UNICODE_OTHER_LETTER = 7,
1222     G_UNICODE_TITLECASE_LETTER = 8,   1222     G_UNICODE_TITLECASE_LETTER = 8,
1223     G_UNICODE_UPPERCASE_LETTER = 9,   1223     G_UNICODE_UPPERCASE_LETTER = 9,
1224     G_UNICODE_COMBINING_MARK = 10,   1224     G_UNICODE_COMBINING_MARK = 10,
1225     G_UNICODE_ENCLOSING_MARK = 11,   1225     G_UNICODE_ENCLOSING_MARK = 11,
1226     G_UNICODE_NON_SPACING_MARK = 12,   1226     G_UNICODE_NON_SPACING_MARK = 12,
1227     G_UNICODE_DECIMAL_NUMBER = 13,   1227     G_UNICODE_DECIMAL_NUMBER = 13,
1228     G_UNICODE_LETTER_NUMBER = 14,   1228     G_UNICODE_LETTER_NUMBER = 14,
1229     G_UNICODE_OTHER_NUMBER = 15,   1229     G_UNICODE_OTHER_NUMBER = 15,
1230     G_UNICODE_CONNECT_PUNCTUATION = 16,   1230     G_UNICODE_CONNECT_PUNCTUATION = 16,
1231     G_UNICODE_DASH_PUNCTUATION = 17,   1231     G_UNICODE_DASH_PUNCTUATION = 17,
1232     G_UNICODE_CLOSE_PUNCTUATION = 18,   1232     G_UNICODE_CLOSE_PUNCTUATION = 18,
1233     G_UNICODE_FINAL_PUNCTUATION = 19,   1233     G_UNICODE_FINAL_PUNCTUATION = 19,
1234     G_UNICODE_INITIAL_PUNCTUATION = 20,   1234     G_UNICODE_INITIAL_PUNCTUATION = 20,
1235     G_UNICODE_OTHER_PUNCTUATION = 21,   1235     G_UNICODE_OTHER_PUNCTUATION = 21,
1236     G_UNICODE_OPEN_PUNCTUATION = 22,   1236     G_UNICODE_OPEN_PUNCTUATION = 22,
1237     G_UNICODE_CURRENCY_SYMBOL = 23,   1237     G_UNICODE_CURRENCY_SYMBOL = 23,
1238     G_UNICODE_MODIFIER_SYMBOL = 24,   1238     G_UNICODE_MODIFIER_SYMBOL = 24,
1239     G_UNICODE_MATH_SYMBOL = 25,   1239     G_UNICODE_MATH_SYMBOL = 25,
1240     G_UNICODE_OTHER_SYMBOL = 26,   1240     G_UNICODE_OTHER_SYMBOL = 26,
1241     G_UNICODE_LINE_SEPARATOR = 27,   1241     G_UNICODE_LINE_SEPARATOR = 27,
1242     G_UNICODE_PARAGRAPH_SEPARATOR = 28,   1242     G_UNICODE_PARAGRAPH_SEPARATOR = 28,
1243     G_UNICODE_SPACE_SEPARATOR = 29   1243     G_UNICODE_SPACE_SEPARATOR = 29
1244 } ;   1244 } ;
1245 typedef enum __anonenum_GUnicodeType_67 GUnicodeType;   1245 typedef enum __anonenum_GUnicodeType_67 GUnicodeType;
1246 enum __anonenum_GUnicodeBreakType_68 {   1246 enum __anonenum_GUnicodeBreakType_68 {
1247     G_UNICODE_BREAK_MANDATORY = 0,   1247     G_UNICODE_BREAK_MANDATORY = 0,
1248     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,   1248     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,
1249     G_UNICODE_BREAK_LINE_FEED = 2,   1249     G_UNICODE_BREAK_LINE_FEED = 2,
1250     G_UNICODE_BREAK_COMBINING_MARK = 3,   1250     G_UNICODE_BREAK_COMBINING_MARK = 3,
1251     G_UNICODE_BREAK_SURROGATE = 4,   1251     G_UNICODE_BREAK_SURROGATE = 4,
1252     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,   1252     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,
1253     G_UNICODE_BREAK_INSEPARABLE = 6,   1253     G_UNICODE_BREAK_INSEPARABLE = 6,
1254     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,   1254     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,
1255     G_UNICODE_BREAK_CONTINGENT = 8,   1255     G_UNICODE_BREAK_CONTINGENT = 8,
1256     G_UNICODE_BREAK_SPACE = 9,   1256     G_UNICODE_BREAK_SPACE = 9,
1257     G_UNICODE_BREAK_AFTER = 10,   1257     G_UNICODE_BREAK_AFTER = 10,
1258     G_UNICODE_BREAK_BEFORE = 11,   1258     G_UNICODE_BREAK_BEFORE = 11,
1259     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,   1259     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,
1260     G_UNICODE_BREAK_HYPHEN = 13,   1260     G_UNICODE_BREAK_HYPHEN = 13,
1261     G_UNICODE_BREAK_NON_STARTER = 14,   1261     G_UNICODE_BREAK_NON_STARTER = 14,
1262     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,   1262     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,
1263     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,   1263     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,
1264     G_UNICODE_BREAK_QUOTATION = 17,   1264     G_UNICODE_BREAK_QUOTATION = 17,
1265     G_UNICODE_BREAK_EXCLAMATION = 18,   1265     G_UNICODE_BREAK_EXCLAMATION = 18,
1266     G_UNICODE_BREAK_IDEOGRAPHIC = 19,   1266     G_UNICODE_BREAK_IDEOGRAPHIC = 19,
1267     G_UNICODE_BREAK_NUMERIC = 20,   1267     G_UNICODE_BREAK_NUMERIC = 20,
1268     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,   1268     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,
1269     G_UNICODE_BREAK_SYMBOL = 22,   1269     G_UNICODE_BREAK_SYMBOL = 22,
1270     G_UNICODE_BREAK_ALPHABETIC = 23,   1270     G_UNICODE_BREAK_ALPHABETIC = 23,
1271     G_UNICODE_BREAK_PREFIX = 24,   1271     G_UNICODE_BREAK_PREFIX = 24,
1272     G_UNICODE_BREAK_POSTFIX = 25,   1272     G_UNICODE_BREAK_POSTFIX = 25,
1273     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,   1273     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,
1274     G_UNICODE_BREAK_AMBIGUOUS = 27,   1274     G_UNICODE_BREAK_AMBIGUOUS = 27,
1275     G_UNICODE_BREAK_UNKNOWN = 28,   1275     G_UNICODE_BREAK_UNKNOWN = 28,
1276     G_UNICODE_BREAK_NEXT_LINE = 29,   1276     G_UNICODE_BREAK_NEXT_LINE = 29,
1277     G_UNICODE_BREAK_WORD_JOINER = 30,   1277     G_UNICODE_BREAK_WORD_JOINER = 30,
1278     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,   1278     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,
1279     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,   1279     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,
1280     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,   1280     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,
1281     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,   1281     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,
1282     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35   1282     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35
1283 } ;   1283 } ;
1284 typedef enum __anonenum_GUnicodeBreakType_68 GUnicodeBreakType;   1284 typedef enum __anonenum_GUnicodeBreakType_68 GUnicodeBreakType;
1285 enum __anonenum_GUnicodeScript_69 {   1285 enum __anonenum_GUnicodeScript_69 {
1286     G_UNICODE_SCRIPT_INVALID_CODE = -1,   1286     G_UNICODE_SCRIPT_INVALID_CODE = -1,
1287     G_UNICODE_SCRIPT_COMMON = 0,   1287     G_UNICODE_SCRIPT_COMMON = 0,
1288     G_UNICODE_SCRIPT_INHERITED = 1,   1288     G_UNICODE_SCRIPT_INHERITED = 1,
1289     G_UNICODE_SCRIPT_ARABIC = 2,   1289     G_UNICODE_SCRIPT_ARABIC = 2,
1290     G_UNICODE_SCRIPT_ARMENIAN = 3,   1290     G_UNICODE_SCRIPT_ARMENIAN = 3,
1291     G_UNICODE_SCRIPT_BENGALI = 4,   1291     G_UNICODE_SCRIPT_BENGALI = 4,
1292     G_UNICODE_SCRIPT_BOPOMOFO = 5,   1292     G_UNICODE_SCRIPT_BOPOMOFO = 5,
1293     G_UNICODE_SCRIPT_CHEROKEE = 6,   1293     G_UNICODE_SCRIPT_CHEROKEE = 6,
1294     G_UNICODE_SCRIPT_COPTIC = 7,   1294     G_UNICODE_SCRIPT_COPTIC = 7,
1295     G_UNICODE_SCRIPT_CYRILLIC = 8,   1295     G_UNICODE_SCRIPT_CYRILLIC = 8,
1296     G_UNICODE_SCRIPT_DESERET = 9,   1296     G_UNICODE_SCRIPT_DESERET = 9,
1297     G_UNICODE_SCRIPT_DEVANAGARI = 10,   1297     G_UNICODE_SCRIPT_DEVANAGARI = 10,
1298     G_UNICODE_SCRIPT_ETHIOPIC = 11,   1298     G_UNICODE_SCRIPT_ETHIOPIC = 11,
1299     G_UNICODE_SCRIPT_GEORGIAN = 12,   1299     G_UNICODE_SCRIPT_GEORGIAN = 12,
1300     G_UNICODE_SCRIPT_GOTHIC = 13,   1300     G_UNICODE_SCRIPT_GOTHIC = 13,
1301     G_UNICODE_SCRIPT_GREEK = 14,   1301     G_UNICODE_SCRIPT_GREEK = 14,
1302     G_UNICODE_SCRIPT_GUJARATI = 15,   1302     G_UNICODE_SCRIPT_GUJARATI = 15,
1303     G_UNICODE_SCRIPT_GURMUKHI = 16,   1303     G_UNICODE_SCRIPT_GURMUKHI = 16,
1304     G_UNICODE_SCRIPT_HAN = 17,   1304     G_UNICODE_SCRIPT_HAN = 17,
1305     G_UNICODE_SCRIPT_HANGUL = 18,   1305     G_UNICODE_SCRIPT_HANGUL = 18,
1306     G_UNICODE_SCRIPT_HEBREW = 19,   1306     G_UNICODE_SCRIPT_HEBREW = 19,
1307     G_UNICODE_SCRIPT_HIRAGANA = 20,   1307     G_UNICODE_SCRIPT_HIRAGANA = 20,
1308     G_UNICODE_SCRIPT_KANNADA = 21,   1308     G_UNICODE_SCRIPT_KANNADA = 21,
1309     G_UNICODE_SCRIPT_KATAKANA = 22,   1309     G_UNICODE_SCRIPT_KATAKANA = 22,
1310     G_UNICODE_SCRIPT_KHMER = 23,   1310     G_UNICODE_SCRIPT_KHMER = 23,
1311     G_UNICODE_SCRIPT_LAO = 24,   1311     G_UNICODE_SCRIPT_LAO = 24,
1312     G_UNICODE_SCRIPT_LATIN = 25,   1312     G_UNICODE_SCRIPT_LATIN = 25,
1313     G_UNICODE_SCRIPT_MALAYALAM = 26,   1313     G_UNICODE_SCRIPT_MALAYALAM = 26,
1314     G_UNICODE_SCRIPT_MONGOLIAN = 27,   1314     G_UNICODE_SCRIPT_MONGOLIAN = 27,
1315     G_UNICODE_SCRIPT_MYANMAR = 28,   1315     G_UNICODE_SCRIPT_MYANMAR = 28,
1316     G_UNICODE_SCRIPT_OGHAM = 29,   1316     G_UNICODE_SCRIPT_OGHAM = 29,
1317     G_UNICODE_SCRIPT_OLD_ITALIC = 30,   1317     G_UNICODE_SCRIPT_OLD_ITALIC = 30,
1318     G_UNICODE_SCRIPT_ORIYA = 31,   1318     G_UNICODE_SCRIPT_ORIYA = 31,
1319     G_UNICODE_SCRIPT_RUNIC = 32,   1319     G_UNICODE_SCRIPT_RUNIC = 32,
1320     G_UNICODE_SCRIPT_SINHALA = 33,   1320     G_UNICODE_SCRIPT_SINHALA = 33,
1321     G_UNICODE_SCRIPT_SYRIAC = 34,   1321     G_UNICODE_SCRIPT_SYRIAC = 34,
1322     G_UNICODE_SCRIPT_TAMIL = 35,   1322     G_UNICODE_SCRIPT_TAMIL = 35,
1323     G_UNICODE_SCRIPT_TELUGU = 36,   1323     G_UNICODE_SCRIPT_TELUGU = 36,
1324     G_UNICODE_SCRIPT_THAANA = 37,   1324     G_UNICODE_SCRIPT_THAANA = 37,
1325     G_UNICODE_SCRIPT_THAI = 38,   1325     G_UNICODE_SCRIPT_THAI = 38,
1326     G_UNICODE_SCRIPT_TIBETAN = 39,   1326     G_UNICODE_SCRIPT_TIBETAN = 39,
1327     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,   1327     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,
1328     G_UNICODE_SCRIPT_YI = 41,   1328     G_UNICODE_SCRIPT_YI = 41,
1329     G_UNICODE_SCRIPT_TAGALOG = 42,   1329     G_UNICODE_SCRIPT_TAGALOG = 42,
1330     G_UNICODE_SCRIPT_HANUNOO = 43,   1330     G_UNICODE_SCRIPT_HANUNOO = 43,
1331     G_UNICODE_SCRIPT_BUHID = 44,   1331     G_UNICODE_SCRIPT_BUHID = 44,
1332     G_UNICODE_SCRIPT_TAGBANWA = 45,   1332     G_UNICODE_SCRIPT_TAGBANWA = 45,
1333     G_UNICODE_SCRIPT_BRAILLE = 46,   1333     G_UNICODE_SCRIPT_BRAILLE = 46,
1334     G_UNICODE_SCRIPT_CYPRIOT = 47,   1334     G_UNICODE_SCRIPT_CYPRIOT = 47,
1335     G_UNICODE_SCRIPT_LIMBU = 48,   1335     G_UNICODE_SCRIPT_LIMBU = 48,
1336     G_UNICODE_SCRIPT_OSMANYA = 49,   1336     G_UNICODE_SCRIPT_OSMANYA = 49,
1337     G_UNICODE_SCRIPT_SHAVIAN = 50,   1337     G_UNICODE_SCRIPT_SHAVIAN = 50,
1338     G_UNICODE_SCRIPT_LINEAR_B = 51,   1338     G_UNICODE_SCRIPT_LINEAR_B = 51,
1339     G_UNICODE_SCRIPT_TAI_LE = 52,   1339     G_UNICODE_SCRIPT_TAI_LE = 52,
1340     G_UNICODE_SCRIPT_UGARITIC = 53,   1340     G_UNICODE_SCRIPT_UGARITIC = 53,
1341     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,   1341     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,
1342     G_UNICODE_SCRIPT_BUGINESE = 55,   1342     G_UNICODE_SCRIPT_BUGINESE = 55,
1343     G_UNICODE_SCRIPT_GLAGOLITIC = 56,   1343     G_UNICODE_SCRIPT_GLAGOLITIC = 56,
1344     G_UNICODE_SCRIPT_TIFINAGH = 57,   1344     G_UNICODE_SCRIPT_TIFINAGH = 57,
1345     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,   1345     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,
1346     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,   1346     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,
1347     G_UNICODE_SCRIPT_KHAROSHTHI = 60,   1347     G_UNICODE_SCRIPT_KHAROSHTHI = 60,
1348     G_UNICODE_SCRIPT_UNKNOWN = 61,   1348     G_UNICODE_SCRIPT_UNKNOWN = 61,
1349     G_UNICODE_SCRIPT_BALINESE = 62,   1349     G_UNICODE_SCRIPT_BALINESE = 62,
1350     G_UNICODE_SCRIPT_CUNEIFORM = 63,   1350     G_UNICODE_SCRIPT_CUNEIFORM = 63,
1351     G_UNICODE_SCRIPT_PHOENICIAN = 64,   1351     G_UNICODE_SCRIPT_PHOENICIAN = 64,
1352     G_UNICODE_SCRIPT_PHAGS_PA = 65,   1352     G_UNICODE_SCRIPT_PHAGS_PA = 65,
1353     G_UNICODE_SCRIPT_NKO = 66,   1353     G_UNICODE_SCRIPT_NKO = 66,
1354     G_UNICODE_SCRIPT_KAYAH_LI = 67,   1354     G_UNICODE_SCRIPT_KAYAH_LI = 67,
1355     G_UNICODE_SCRIPT_LEPCHA = 68,   1355     G_UNICODE_SCRIPT_LEPCHA = 68,
1356     G_UNICODE_SCRIPT_REJANG = 69,   1356     G_UNICODE_SCRIPT_REJANG = 69,
1357     G_UNICODE_SCRIPT_SUNDANESE = 70,   1357     G_UNICODE_SCRIPT_SUNDANESE = 70,
1358     G_UNICODE_SCRIPT_SAURASHTRA = 71,   1358     G_UNICODE_SCRIPT_SAURASHTRA = 71,
1359     G_UNICODE_SCRIPT_CHAM = 72,   1359     G_UNICODE_SCRIPT_CHAM = 72,
1360     G_UNICODE_SCRIPT_OL_CHIKI = 73,   1360     G_UNICODE_SCRIPT_OL_CHIKI = 73,
1361     G_UNICODE_SCRIPT_VAI = 74,   1361     G_UNICODE_SCRIPT_VAI = 74,
1362     G_UNICODE_SCRIPT_CARIAN = 75,   1362     G_UNICODE_SCRIPT_CARIAN = 75,
1363     G_UNICODE_SCRIPT_LYCIAN = 76,   1363     G_UNICODE_SCRIPT_LYCIAN = 76,
1364     G_UNICODE_SCRIPT_LYDIAN = 77   1364     G_UNICODE_SCRIPT_LYDIAN = 77
1365 } ;   1365 } ;
1366 typedef enum __anonenum_GUnicodeScript_69 GUnicodeScript;   1366 typedef enum __anonenum_GUnicodeScript_69 GUnicodeScript;
1367 enum __anonenum_GNormalizeMode_70 {   1367 enum __anonenum_GNormalizeMode_70 {
1368     G_NORMALIZE_DEFAULT = 0,   1368     G_NORMALIZE_DEFAULT = 0,
1369     G_NORMALIZE_NFD = 0,   1369     G_NORMALIZE_NFD = 0,
1370     G_NORMALIZE_DEFAULT_COMPOSE = 1,   1370     G_NORMALIZE_DEFAULT_COMPOSE = 1,
1371     G_NORMALIZE_NFC = 1,   1371     G_NORMALIZE_NFC = 1,
1372     G_NORMALIZE_ALL = 2,   1372     G_NORMALIZE_ALL = 2,
1373     G_NORMALIZE_NFKD = 2,   1373     G_NORMALIZE_NFKD = 2,
1374     G_NORMALIZE_ALL_COMPOSE = 3,   1374     G_NORMALIZE_ALL_COMPOSE = 3,
1375     G_NORMALIZE_NFKC = 3   1375     G_NORMALIZE_NFKC = 3
1376 } ;   1376 } ;
1377 typedef enum __anonenum_GNormalizeMode_70 GNormalizeMode;   1377 typedef enum __anonenum_GNormalizeMode_70 GNormalizeMode;
1378 struct _GString;   1378 struct _GString;
1379 typedef struct _GString GString;   1379 typedef struct _GString GString;
1380 struct _GStringChunk;   1380 struct _GStringChunk;
1381 typedef struct _GStringChunk GStringChunk;   1381 typedef struct _GStringChunk GStringChunk;
1382 struct _GString {   1382 struct _GString {
1383    gchar *str ;   1383    gchar *str ;
1384    gsize len ;   1384    gsize len ;
1385    gsize allocated_len ;   1385    gsize allocated_len ;
1386 };   1386 };
1387 struct _GIOChannel;   1387 struct _GIOChannel;
1388 typedef struct _GIOChannel GIOChannel;   1388 typedef struct _GIOChannel GIOChannel;
1389 struct _GIOFuncs;   1389 struct _GIOFuncs;
1390 typedef struct _GIOFuncs GIOFuncs;   1390 typedef struct _GIOFuncs GIOFuncs;
1391 enum __anonenum_GIOError_71 {   1391 enum __anonenum_GIOError_71 {
1392     G_IO_ERROR_NONE = 0,   1392     G_IO_ERROR_NONE = 0,
1393     G_IO_ERROR_AGAIN = 1,   1393     G_IO_ERROR_AGAIN = 1,
1394     G_IO_ERROR_INVAL = 2,   1394     G_IO_ERROR_INVAL = 2,
1395     G_IO_ERROR_UNKNOWN = 3   1395     G_IO_ERROR_UNKNOWN = 3
1396 } ;   1396 } ;
1397 typedef enum __anonenum_GIOError_71 GIOError;   1397 typedef enum __anonenum_GIOError_71 GIOError;
1398 enum __anonenum_GIOChannelError_72 {   1398 enum __anonenum_GIOChannelError_72 {
1399     G_IO_CHANNEL_ERROR_FBIG = 0,   1399     G_IO_CHANNEL_ERROR_FBIG = 0,
1400     G_IO_CHANNEL_ERROR_INVAL = 1,   1400     G_IO_CHANNEL_ERROR_INVAL = 1,
1401     G_IO_CHANNEL_ERROR_IO = 2,   1401     G_IO_CHANNEL_ERROR_IO = 2,
1402     G_IO_CHANNEL_ERROR_ISDIR = 3,   1402     G_IO_CHANNEL_ERROR_ISDIR = 3,
1403     G_IO_CHANNEL_ERROR_NOSPC = 4,   1403     G_IO_CHANNEL_ERROR_NOSPC = 4,
1404     G_IO_CHANNEL_ERROR_NXIO = 5,   1404     G_IO_CHANNEL_ERROR_NXIO = 5,
1405     G_IO_CHANNEL_ERROR_OVERFLOW = 6,   1405     G_IO_CHANNEL_ERROR_OVERFLOW = 6,
1406     G_IO_CHANNEL_ERROR_PIPE = 7,   1406     G_IO_CHANNEL_ERROR_PIPE = 7,
1407     G_IO_CHANNEL_ERROR_FAILED = 8   1407     G_IO_CHANNEL_ERROR_FAILED = 8
1408 } ;   1408 } ;
1409 typedef enum __anonenum_GIOChannelError_72 GIOChannelError;   1409 typedef enum __anonenum_GIOChannelError_72 GIOChannelError;
1410 enum __anonenum_GIOStatus_73 {   1410 enum __anonenum_GIOStatus_73 {
1411     G_IO_STATUS_ERROR = 0,   1411     G_IO_STATUS_ERROR = 0,
1412     G_IO_STATUS_NORMAL = 1,   1412     G_IO_STATUS_NORMAL = 1,
1413     G_IO_STATUS_EOF = 2,   1413     G_IO_STATUS_EOF = 2,
1414     G_IO_STATUS_AGAIN = 3   1414     G_IO_STATUS_AGAIN = 3
1415 } ;   1415 } ;
1416 typedef enum __anonenum_GIOStatus_73 GIOStatus;   1416 typedef enum __anonenum_GIOStatus_73 GIOStatus;
1417 enum __anonenum_GSeekType_74 {   1417 enum __anonenum_GSeekType_74 {
1418     G_SEEK_CUR = 0,   1418     G_SEEK_CUR = 0,
1419     G_SEEK_SET = 1,   1419     G_SEEK_SET = 1,
1420     G_SEEK_END = 2   1420     G_SEEK_END = 2
1421 } ;   1421 } ;
1422 typedef enum __anonenum_GSeekType_74 GSeekType;   1422 typedef enum __anonenum_GSeekType_74 GSeekType;
1423 enum __anonenum_GIOCondition_75 {   1423 enum __anonenum_GIOCondition_75 {
1424     G_IO_IN = 1,   1424     G_IO_IN = 1,
1425     G_IO_OUT = 4,   1425     G_IO_OUT = 4,
1426     G_IO_PRI = 2,   1426     G_IO_PRI = 2,
1427     G_IO_ERR = 8,   1427     G_IO_ERR = 8,
1428     G_IO_HUP = 16,   1428     G_IO_HUP = 16,
1429     G_IO_NVAL = 32   1429     G_IO_NVAL = 32
1430 } ;   1430 } ;
1431 typedef enum __anonenum_GIOCondition_75 GIOCondition;   1431 typedef enum __anonenum_GIOCondition_75 GIOCondition;
1432 enum __anonenum_GIOFlags_76 {   1432 enum __anonenum_GIOFlags_76 {
1433     G_IO_FLAG_APPEND = 1,   1433     G_IO_FLAG_APPEND = 1,
1434     G_IO_FLAG_NONBLOCK = 2,   1434     G_IO_FLAG_NONBLOCK = 2,
1435     G_IO_FLAG_IS_READABLE = 4,   1435     G_IO_FLAG_IS_READABLE = 4,
1436     G_IO_FLAG_IS_WRITEABLE = 8,   1436     G_IO_FLAG_IS_WRITEABLE = 8,
1437     G_IO_FLAG_IS_SEEKABLE = 16,   1437     G_IO_FLAG_IS_SEEKABLE = 16,
1438     G_IO_FLAG_MASK = 31,   1438     G_IO_FLAG_MASK = 31,
1439     G_IO_FLAG_GET_MASK = 31,   1439     G_IO_FLAG_GET_MASK = 31,
1440     G_IO_FLAG_SET_MASK = 3   1440     G_IO_FLAG_SET_MASK = 3
1441 } ;   1441 } ;
1442 typedef enum __anonenum_GIOFlags_76 GIOFlags;   1442 typedef enum __anonenum_GIOFlags_76 GIOFlags;
1443 struct _GIOChannel {   1443 struct _GIOChannel {
1444    gint ref_count ;   1444    gint ref_count ;
1445    GIOFuncs *funcs ;   1445    GIOFuncs *funcs ;
1446    gchar *encoding ;   1446    gchar *encoding ;
1447    GIConv read_cd ;   1447    GIConv read_cd ;
1448    GIConv write_cd ;   1448    GIConv write_cd ;
1449    gchar *line_term ;   1449    gchar *line_term ;
1450    guint line_term_len ;   1450    guint line_term_len ;
1451    gsize buf_size ;   1451    gsize buf_size ;
1452    GString *read_buf ;   1452    GString *read_buf ;
1453    GString *encoded_read_buf ;   1453    GString *encoded_read_buf ;
1454    GString *write_buf ;   1454    GString *write_buf ;
1455    gchar partial_write_buf[6] ;   1455    gchar partial_write_buf[6] ;
1456    guint use_buffer : 1 ;   1456    guint use_buffer : 1 ;
1457    guint do_encode : 1 ;   1457    guint do_encode : 1 ;
1458    guint close_on_unref : 1 ;   1458    guint close_on_unref : 1 ;
1459    guint is_readable : 1 ;   1459    guint is_readable : 1 ;
1460    guint is_writeable : 1 ;   1460    guint is_writeable : 1 ;
1461    guint is_seekable : 1 ;   1461    guint is_seekable : 1 ;
1462    gpointer reserved1 ;   1462    gpointer reserved1 ;
1463    gpointer reserved2 ;   1463    gpointer reserved2 ;
1464 };   1464 };
1465 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,   1465 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,
1466                             gpointer data );   1466                             gpointer data );
1467 struct _GIOFuncs {   1467 struct _GIOFuncs {
1468    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,   1468    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,
1469                         gsize *bytes_read , GError **err ) ;   1469                         gsize *bytes_read , GError **err ) ;
1470    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,   1470    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,
1471                          gsize count , gsize *bytes_written , GError **err ) ;   1471                          gsize count , gsize *bytes_written , GError **err ) ;
1472    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,   1472    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,
1473                         GError **err ) ;   1473                         GError **err ) ;
1474    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;   1474    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;
1475    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;   1475    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;
1476    void (*io_free)(GIOChannel *channel ) ;   1476    void (*io_free)(GIOChannel *channel ) ;
1477    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,   1477    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,
1478                              GError **err ) ;   1478                              GError **err ) ;
1479    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;   1479    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;
1480 };   1480 };
1481 enum __anonenum_GKeyFileError_77 {   1481 enum __anonenum_GKeyFileError_77 {
1482     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,   1482     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,
1483     G_KEY_FILE_ERROR_PARSE = 1,   1483     G_KEY_FILE_ERROR_PARSE = 1,
1484     G_KEY_FILE_ERROR_NOT_FOUND = 2,   1484     G_KEY_FILE_ERROR_NOT_FOUND = 2,
1485     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,   1485     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,
1486     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,   1486     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,
1487     G_KEY_FILE_ERROR_INVALID_VALUE = 5   1487     G_KEY_FILE_ERROR_INVALID_VALUE = 5
1488 } ;   1488 } ;
1489 typedef enum __anonenum_GKeyFileError_77 GKeyFileError;   1489 typedef enum __anonenum_GKeyFileError_77 GKeyFileError;
1490 struct _GKeyFile;   1490 struct _GKeyFile;
1491 typedef struct _GKeyFile GKeyFile;   1491 typedef struct _GKeyFile GKeyFile;
1492 enum __anonenum_GKeyFileFlags_78 {   1492 enum __anonenum_GKeyFileFlags_78 {
1493     G_KEY_FILE_NONE = 0,   1493     G_KEY_FILE_NONE = 0,
1494     G_KEY_FILE_KEEP_COMMENTS = 1,   1494     G_KEY_FILE_KEEP_COMMENTS = 1,
1495     G_KEY_FILE_KEEP_TRANSLATIONS = 2   1495     G_KEY_FILE_KEEP_TRANSLATIONS = 2
1496 } ;   1496 } ;
1497 typedef enum __anonenum_GKeyFileFlags_78 GKeyFileFlags;   1497 typedef enum __anonenum_GKeyFileFlags_78 GKeyFileFlags;
1498 struct _GMappedFile;   1498 struct _GMappedFile;
1499 typedef struct _GMappedFile GMappedFile;   1499 typedef struct _GMappedFile GMappedFile;
1500 enum __anonenum_GMarkupError_79 {   1500 enum __anonenum_GMarkupError_79 {
1501     G_MARKUP_ERROR_BAD_UTF8 = 0,   1501     G_MARKUP_ERROR_BAD_UTF8 = 0,
1502     G_MARKUP_ERROR_EMPTY = 1,   1502     G_MARKUP_ERROR_EMPTY = 1,
1503     G_MARKUP_ERROR_PARSE = 2,   1503     G_MARKUP_ERROR_PARSE = 2,
1504     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,   1504     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,
1505     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,   1505     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,
1506     G_MARKUP_ERROR_INVALID_CONTENT = 5,   1506     G_MARKUP_ERROR_INVALID_CONTENT = 5,
1507     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6   1507     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6
1508 } ;   1508 } ;
1509 typedef enum __anonenum_GMarkupError_79 GMarkupError;   1509 typedef enum __anonenum_GMarkupError_79 GMarkupError;
1510 enum __anonenum_GMarkupParseFlags_80 {   1510 enum __anonenum_GMarkupParseFlags_80 {
1511     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,   1511     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,
1512     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,   1512     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,
1513     G_MARKUP_PREFIX_ERROR_POSITION = 4   1513     G_MARKUP_PREFIX_ERROR_POSITION = 4
1514 } ;   1514 } ;
1515 typedef enum __anonenum_GMarkupParseFlags_80 GMarkupParseFlags;   1515 typedef enum __anonenum_GMarkupParseFlags_80 GMarkupParseFlags;
1516 struct _GMarkupParseContext;   1516 struct _GMarkupParseContext;
1517 typedef struct _GMarkupParseContext GMarkupParseContext;   1517 typedef struct _GMarkupParseContext GMarkupParseContext;
1518 struct _GMarkupParser;   1518 struct _GMarkupParser;
1519 typedef struct _GMarkupParser GMarkupParser;   1519 typedef struct _GMarkupParser GMarkupParser;
1520 struct _GMarkupParser {   1520 struct _GMarkupParser {
1521    void (*start_element)(GMarkupParseContext *context ,   1521    void (*start_element)(GMarkupParseContext *context ,
1522                          gchar const   *element_name ,   1522                          gchar const   *element_name ,
1523                          gchar const   **attribute_names ,   1523                          gchar const   **attribute_names ,
1524                          gchar const   **attribute_values , gpointer user_data ,   1524                          gchar const   **attribute_values , gpointer user_data ,
1525                          GError **error ) ;   1525                          GError **error ) ;
1526    void (*end_element)(GMarkupParseContext *context ,   1526    void (*end_element)(GMarkupParseContext *context ,
1527                        gchar const   *element_name , gpointer user_data ,   1527                        gchar const   *element_name , gpointer user_data ,
1528                        GError **error ) ;   1528                        GError **error ) ;
1529    void (*text)(GMarkupParseContext *context , gchar const   *text ,   1529    void (*text)(GMarkupParseContext *context , gchar const   *text ,
1530                 gsize text_len , gpointer user_data , GError **error ) ;   1530                 gsize text_len , gpointer user_data , GError **error ) ;
1531    void (*passthrough)(GMarkupParseContext *context ,   1531    void (*passthrough)(GMarkupParseContext *context ,
1532                        gchar const   *passthrough_text , gsize text_len ,   1532                        gchar const   *passthrough_text , gsize text_len ,
1533                        gpointer user_data , GError **error ) ;   1533                        gpointer user_data , GError **error ) ;
1534    void (*error)(GMarkupParseContext *context , GError *error ,   1534    void (*error)(GMarkupParseContext *context , GError *error ,
1535                  gpointer user_data ) ;   1535                  gpointer user_data ) ;
1536 };   1536 };
1537 enum __anonenum_GMarkupCollectType_81 {   1537 enum __anonenum_GMarkupCollectType_81 {
1538     G_MARKUP_COLLECT_INVALID = 0,   1538     G_MARKUP_COLLECT_INVALID = 0,
1539     G_MARKUP_COLLECT_STRING = 1,   1539     G_MARKUP_COLLECT_STRING = 1,
1540     G_MARKUP_COLLECT_STRDUP = 2,   1540     G_MARKUP_COLLECT_STRDUP = 2,
1541     G_MARKUP_COLLECT_BOOLEAN = 3,   1541     G_MARKUP_COLLECT_BOOLEAN = 3,
1542     G_MARKUP_COLLECT_TRISTATE = 4,   1542     G_MARKUP_COLLECT_TRISTATE = 4,
1543     G_MARKUP_COLLECT_OPTIONAL = 65536   1543     G_MARKUP_COLLECT_OPTIONAL = 65536
1544 } ;   1544 } ;
1545 typedef enum __anonenum_GMarkupCollectType_81 GMarkupCollectType;   1545 typedef enum __anonenum_GMarkupCollectType_81 GMarkupCollectType;
1546 enum __anonenum_GLogLevelFlags_82 {   1546 enum __anonenum_GLogLevelFlags_82 {
1547     G_LOG_FLAG_RECURSION = 1,   1547     G_LOG_FLAG_RECURSION = 1,
1548     G_LOG_FLAG_FATAL = 2,   1548     G_LOG_FLAG_FATAL = 2,
1549     G_LOG_LEVEL_ERROR = 4,   1549     G_LOG_LEVEL_ERROR = 4,
1550     G_LOG_LEVEL_CRITICAL = 8,   1550     G_LOG_LEVEL_CRITICAL = 8,
1551     G_LOG_LEVEL_WARNING = 16,   1551     G_LOG_LEVEL_WARNING = 16,
1552     G_LOG_LEVEL_MESSAGE = 32,   1552     G_LOG_LEVEL_MESSAGE = 32,
1553     G_LOG_LEVEL_INFO = 64,   1553     G_LOG_LEVEL_INFO = 64,
1554     G_LOG_LEVEL_DEBUG = 128,   1554     G_LOG_LEVEL_DEBUG = 128,
1555     G_LOG_LEVEL_MASK = -4   1555     G_LOG_LEVEL_MASK = -4
1556 } ;   1556 } ;
1557 typedef enum __anonenum_GLogLevelFlags_82 GLogLevelFlags;   1557 typedef enum __anonenum_GLogLevelFlags_82 GLogLevelFlags;
1558 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,   1558 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,
1559                          gchar const   *message , gpointer user_data );   1559                          gchar const   *message , gpointer user_data );
1560 typedef void (*GPrintFunc)(gchar const   *string );   1560 typedef void (*GPrintFunc)(gchar const   *string );
1561 struct _GNode;   1561 struct _GNode;
1562 typedef struct _GNode GNode;   1562 typedef struct _GNode GNode;
1563 enum __anonenum_GTraverseFlags_83 {   1563 enum __anonenum_GTraverseFlags_83 {
1564     G_TRAVERSE_LEAVES = 1,   1564     G_TRAVERSE_LEAVES = 1,
1565     G_TRAVERSE_NON_LEAVES = 2,   1565     G_TRAVERSE_NON_LEAVES = 2,
1566     G_TRAVERSE_ALL = 3,   1566     G_TRAVERSE_ALL = 3,
1567     G_TRAVERSE_MASK = 3,   1567     G_TRAVERSE_MASK = 3,
1568     G_TRAVERSE_LEAFS = 1,   1568     G_TRAVERSE_LEAFS = 1,
1569     G_TRAVERSE_NON_LEAFS = 2   1569     G_TRAVERSE_NON_LEAFS = 2
1570 } ;   1570 } ;
1571 typedef enum __anonenum_GTraverseFlags_83 GTraverseFlags;   1571 typedef enum __anonenum_GTraverseFlags_83 GTraverseFlags;
1572 enum __anonenum_GTraverseType_84 {   1572 enum __anonenum_GTraverseType_84 {
1573     G_IN_ORDER = 0,   1573     G_IN_ORDER = 0,
1574     G_PRE_ORDER = 1,   1574     G_PRE_ORDER = 1,
1575     G_POST_ORDER = 2,   1575     G_POST_ORDER = 2,
1576     G_LEVEL_ORDER = 3   1576     G_LEVEL_ORDER = 3
1577 } ;   1577 } ;
1578 typedef enum __anonenum_GTraverseType_84 GTraverseType;   1578 typedef enum __anonenum_GTraverseType_84 GTraverseType;
1579 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );   1579 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );
1580 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );   1580 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );
1581 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );   1581 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );
1582 struct _GNode {   1582 struct _GNode {
1583    gpointer data ;   1583    gpointer data ;
1584    GNode *next ;   1584    GNode *next ;
1585    GNode *prev ;   1585    GNode *prev ;
1586    GNode *parent ;   1586    GNode *parent ;
1587    GNode *children ;   1587    GNode *children ;
1588 };   1588 };
1589 struct _GOptionContext;   1589 struct _GOptionContext;
1590 typedef struct _GOptionContext GOptionContext;   1590 typedef struct _GOptionContext GOptionContext;
1591 struct _GOptionGroup;   1591 struct _GOptionGroup;
1592 typedef struct _GOptionGroup GOptionGroup;   1592 typedef struct _GOptionGroup GOptionGroup;
1593 struct _GOptionEntry;   1593 struct _GOptionEntry;
1594 typedef struct _GOptionEntry GOptionEntry;   1594 typedef struct _GOptionEntry GOptionEntry;
1595 enum __anonenum_GOptionFlags_85 {   1595 enum __anonenum_GOptionFlags_85 {
1596     G_OPTION_FLAG_HIDDEN = 1,   1596     G_OPTION_FLAG_HIDDEN = 1,
1597     G_OPTION_FLAG_IN_MAIN = 2,   1597     G_OPTION_FLAG_IN_MAIN = 2,
1598     G_OPTION_FLAG_REVERSE = 4,   1598     G_OPTION_FLAG_REVERSE = 4,
1599     G_OPTION_FLAG_NO_ARG = 8,   1599     G_OPTION_FLAG_NO_ARG = 8,
1600     G_OPTION_FLAG_FILENAME = 16,   1600     G_OPTION_FLAG_FILENAME = 16,
1601     G_OPTION_FLAG_OPTIONAL_ARG = 32,   1601     G_OPTION_FLAG_OPTIONAL_ARG = 32,
1602     G_OPTION_FLAG_NOALIAS = 64   1602     G_OPTION_FLAG_NOALIAS = 64
1603 } ;   1603 } ;
1604 typedef enum __anonenum_GOptionFlags_85 GOptionFlags;   1604 typedef enum __anonenum_GOptionFlags_85 GOptionFlags;
1605 enum __anonenum_GOptionArg_86 {   1605 enum __anonenum_GOptionArg_86 {
1606     G_OPTION_ARG_NONE = 0,   1606     G_OPTION_ARG_NONE = 0,
1607     G_OPTION_ARG_STRING = 1,   1607     G_OPTION_ARG_STRING = 1,
1608     G_OPTION_ARG_INT = 2,   1608     G_OPTION_ARG_INT = 2,
1609     G_OPTION_ARG_CALLBACK = 3,   1609     G_OPTION_ARG_CALLBACK = 3,
1610     G_OPTION_ARG_FILENAME = 4,   1610     G_OPTION_ARG_FILENAME = 4,
1611     G_OPTION_ARG_STRING_ARRAY = 5,   1611     G_OPTION_ARG_STRING_ARRAY = 5,
1612     G_OPTION_ARG_FILENAME_ARRAY = 6,   1612     G_OPTION_ARG_FILENAME_ARRAY = 6,
1613     G_OPTION_ARG_DOUBLE = 7,   1613     G_OPTION_ARG_DOUBLE = 7,
1614     G_OPTION_ARG_INT64 = 8   1614     G_OPTION_ARG_INT64 = 8
1615 } ;   1615 } ;
1616 typedef enum __anonenum_GOptionArg_86 GOptionArg;   1616 typedef enum __anonenum_GOptionArg_86 GOptionArg;
1617 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,   1617 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,
1618                                    gchar const   *value , gpointer data ,   1618                                    gchar const   *value , gpointer data ,
1619                                    GError **error );   1619                                    GError **error );
1620 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,   1620 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,
1621                                      GOptionGroup *group , gpointer data ,   1621                                      GOptionGroup *group , gpointer data ,
1622                                      GError **error );   1622                                      GError **error );
1623 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,   1623 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,
1624                                  gpointer data , GError **error );   1624                                  gpointer data , GError **error );
1625 enum __anonenum_GOptionError_87 {   1625 enum __anonenum_GOptionError_87 {
1626     G_OPTION_ERROR_UNKNOWN_OPTION = 0,   1626     G_OPTION_ERROR_UNKNOWN_OPTION = 0,
1627     G_OPTION_ERROR_BAD_VALUE = 1,   1627     G_OPTION_ERROR_BAD_VALUE = 1,
1628     G_OPTION_ERROR_FAILED = 2   1628     G_OPTION_ERROR_FAILED = 2
1629 } ;   1629 } ;
1630 typedef enum __anonenum_GOptionError_87 GOptionError;   1630 typedef enum __anonenum_GOptionError_87 GOptionError;
1631 struct _GOptionEntry {   1631 struct _GOptionEntry {
1632    gchar const   *long_name ;   1632    gchar const   *long_name ;
1633    gchar short_name ;   1633    gchar short_name ;
1634    gint flags ;   1634    gint flags ;
1635    GOptionArg arg ;   1635    GOptionArg arg ;
1636    gpointer arg_data ;   1636    gpointer arg_data ;
1637    gchar const   *description ;   1637    gchar const   *description ;
1638    gchar const   *arg_description ;   1638    gchar const   *arg_description ;
1639 };   1639 };
1640 struct _GPatternSpec;   1640 struct _GPatternSpec;
1641 typedef struct _GPatternSpec GPatternSpec;   1641 typedef struct _GPatternSpec GPatternSpec;
1642 struct _GQueue;   1642 struct _GQueue;
1643 typedef struct _GQueue GQueue;   1643 typedef struct _GQueue GQueue;
1644 struct _GQueue {   1644 struct _GQueue {
1645    GList *head ;   1645    GList *head ;
1646    GList *tail ;   1646    GList *tail ;
1647    guint length ;   1647    guint length ;
1648 };   1648 };
1649 struct _GRand;   1649 struct _GRand;
1650 typedef struct _GRand GRand;   1650 typedef struct _GRand GRand;
1651 struct _GRelation;   1651 struct _GRelation;
1652 typedef struct _GRelation GRelation;   1652 typedef struct _GRelation GRelation;
1653 struct _GTuples;   1653 struct _GTuples;
1654 typedef struct _GTuples GTuples;   1654 typedef struct _GTuples GTuples;
1655 struct _GTuples {   1655 struct _GTuples {
1656    guint len ;   1656    guint len ;
1657 };   1657 };
1658 enum __anonenum_GRegexError_88 {   1658 enum __anonenum_GRegexError_88 {
1659     G_REGEX_ERROR_COMPILE = 0,   1659     G_REGEX_ERROR_COMPILE = 0,
1660     G_REGEX_ERROR_OPTIMIZE = 1,   1660     G_REGEX_ERROR_OPTIMIZE = 1,
1661     G_REGEX_ERROR_REPLACE = 2,   1661     G_REGEX_ERROR_REPLACE = 2,
1662     G_REGEX_ERROR_MATCH = 3,   1662     G_REGEX_ERROR_MATCH = 3,
1663     G_REGEX_ERROR_INTERNAL = 4,   1663     G_REGEX_ERROR_INTERNAL = 4,
1664     G_REGEX_ERROR_STRAY_BACKSLASH = 101,   1664     G_REGEX_ERROR_STRAY_BACKSLASH = 101,
1665     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,   1665     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
1666     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,   1666     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
1667     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,   1667     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
1668     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,   1668     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
1669     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,   1669     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
1670     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,   1670     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
1671     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,   1671     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
1672     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,   1672     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
1673     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,   1673     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
1674     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,   1674     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
1675     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,   1675     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
1676     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,   1676     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
1677     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,   1677     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
1678     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,   1678     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
1679     G_REGEX_ERROR_MEMORY_ERROR = 121,   1679     G_REGEX_ERROR_MEMORY_ERROR = 121,
1680     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,   1680     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
1681     G_REGEX_ERROR_MALFORMED_CONDITION = 126,   1681     G_REGEX_ERROR_MALFORMED_CONDITION = 126,
1682     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,   1682     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
1683     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,   1683     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
1684     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,   1684     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
1685     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,   1685     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
1686     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,   1686     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
1687     G_REGEX_ERROR_INVALID_CONDITION = 135,   1687     G_REGEX_ERROR_INVALID_CONDITION = 135,
1688     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,   1688     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
1689     G_REGEX_ERROR_INFINITE_LOOP = 140,   1689     G_REGEX_ERROR_INFINITE_LOOP = 140,
1690     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,   1690     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
1691     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,   1691     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
1692     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,   1692     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
1693     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,   1693     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
1694     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,   1694     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
1695     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,   1695     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
1696     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,   1696     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
1697     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,   1697     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
1698     G_REGEX_ERROR_DEFINE_REPETION = 155,   1698     G_REGEX_ERROR_DEFINE_REPETION = 155,
1699     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,   1699     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
1700     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157   1700     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
1701 } ;   1701 } ;
1702 typedef enum __anonenum_GRegexError_88 GRegexError;   1702 typedef enum __anonenum_GRegexError_88 GRegexError;
1703 enum __anonenum_GRegexCompileFlags_89 {   1703 enum __anonenum_GRegexCompileFlags_89 {
1704     G_REGEX_CASELESS = 1,   1704     G_REGEX_CASELESS = 1,
1705     G_REGEX_MULTILINE = 2,   1705     G_REGEX_MULTILINE = 2,
1706     G_REGEX_DOTALL = 4,   1706     G_REGEX_DOTALL = 4,
1707     G_REGEX_EXTENDED = 8,   1707     G_REGEX_EXTENDED = 8,
1708     G_REGEX_ANCHORED = 16,   1708     G_REGEX_ANCHORED = 16,
1709     G_REGEX_DOLLAR_ENDONLY = 32,   1709     G_REGEX_DOLLAR_ENDONLY = 32,
1710     G_REGEX_UNGREEDY = 512,   1710     G_REGEX_UNGREEDY = 512,
1711     G_REGEX_RAW = 2048,   1711     G_REGEX_RAW = 2048,
1712     G_REGEX_NO_AUTO_CAPTURE = 4096,   1712     G_REGEX_NO_AUTO_CAPTURE = 4096,
1713     G_REGEX_OPTIMIZE = 8192,   1713     G_REGEX_OPTIMIZE = 8192,
1714     G_REGEX_DUPNAMES = 524288,   1714     G_REGEX_DUPNAMES = 524288,
1715     G_REGEX_NEWLINE_CR = 1048576,   1715     G_REGEX_NEWLINE_CR = 1048576,
1716     G_REGEX_NEWLINE_LF = 2097152,   1716     G_REGEX_NEWLINE_LF = 2097152,
1717     G_REGEX_NEWLINE_CRLF = 3145728   1717     G_REGEX_NEWLINE_CRLF = 3145728
1718 } ;   1718 } ;
1719 typedef enum __anonenum_GRegexCompileFlags_89 GRegexCompileFlags;   1719 typedef enum __anonenum_GRegexCompileFlags_89 GRegexCompileFlags;
1720 enum __anonenum_GRegexMatchFlags_90 {   1720 enum __anonenum_GRegexMatchFlags_90 {
1721     G_REGEX_MATCH_ANCHORED = 16,   1721     G_REGEX_MATCH_ANCHORED = 16,
1722     G_REGEX_MATCH_NOTBOL = 128,   1722     G_REGEX_MATCH_NOTBOL = 128,
1723     G_REGEX_MATCH_NOTEOL = 256,   1723     G_REGEX_MATCH_NOTEOL = 256,
1724     G_REGEX_MATCH_NOTEMPTY = 1024,   1724     G_REGEX_MATCH_NOTEMPTY = 1024,
1725     G_REGEX_MATCH_PARTIAL = 32768,   1725     G_REGEX_MATCH_PARTIAL = 32768,
1726     G_REGEX_MATCH_NEWLINE_CR = 1048576,   1726     G_REGEX_MATCH_NEWLINE_CR = 1048576,
1727     G_REGEX_MATCH_NEWLINE_LF = 2097152,   1727     G_REGEX_MATCH_NEWLINE_LF = 2097152,
1728     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,   1728     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,
1729     G_REGEX_MATCH_NEWLINE_ANY = 4194304   1729     G_REGEX_MATCH_NEWLINE_ANY = 4194304
1730 } ;   1730 } ;
1731 typedef enum __anonenum_GRegexMatchFlags_90 GRegexMatchFlags;   1731 typedef enum __anonenum_GRegexMatchFlags_90 GRegexMatchFlags;
1732 struct _GRegex;   1732 struct _GRegex;
1733 typedef struct _GRegex GRegex;   1733 typedef struct _GRegex GRegex;
1734 struct _GMatchInfo;   1734 struct _GMatchInfo;
1735 typedef struct _GMatchInfo GMatchInfo;   1735 typedef struct _GMatchInfo GMatchInfo;
1736 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,   1736 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,
1737                                        GString *result , gpointer user_data );   1737                                        GString *result , gpointer user_data );
1738 struct _GScanner;   1738 struct _GScanner;
1739 typedef struct _GScanner GScanner;   1739 typedef struct _GScanner GScanner;
1740 struct _GScannerConfig;   1740 struct _GScannerConfig;
1741 typedef struct _GScannerConfig GScannerConfig;   1741 typedef struct _GScannerConfig GScannerConfig;
1742 union _GTokenValue;   1742 union _GTokenValue;
1743 typedef union _GTokenValue GTokenValue;   1743 typedef union _GTokenValue GTokenValue;
1744 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,   1744 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,
1745                                 gboolean error );   1745                                 gboolean error );
1746 enum __anonenum_GErrorType_91 {   1746 enum __anonenum_GErrorType_91 {
1747     G_ERR_UNKNOWN = 0,   1747     G_ERR_UNKNOWN = 0,
1748     G_ERR_UNEXP_EOF = 1,   1748     G_ERR_UNEXP_EOF = 1,
1749     G_ERR_UNEXP_EOF_IN_STRING = 2,   1749     G_ERR_UNEXP_EOF_IN_STRING = 2,
1750     G_ERR_UNEXP_EOF_IN_COMMENT = 3,   1750     G_ERR_UNEXP_EOF_IN_COMMENT = 3,
1751     G_ERR_NON_DIGIT_IN_CONST = 4,   1751     G_ERR_NON_DIGIT_IN_CONST = 4,
1752     G_ERR_DIGIT_RADIX = 5,   1752     G_ERR_DIGIT_RADIX = 5,
1753     G_ERR_FLOAT_RADIX = 6,   1753     G_ERR_FLOAT_RADIX = 6,
1754     G_ERR_FLOAT_MALFORMED = 7   1754     G_ERR_FLOAT_MALFORMED = 7
1755 } ;   1755 } ;
1756 typedef enum __anonenum_GErrorType_91 GErrorType;   1756 typedef enum __anonenum_GErrorType_91 GErrorType;
1757 enum __anonenum_GTokenType_92 {   1757 enum __anonenum_GTokenType_92 {
1758     G_TOKEN_EOF = 0,   1758     G_TOKEN_EOF = 0,
1759     G_TOKEN_LEFT_PAREN = 40,   1759     G_TOKEN_LEFT_PAREN = 40,
1760     G_TOKEN_RIGHT_PAREN = 41,   1760     G_TOKEN_RIGHT_PAREN = 41,
1761     G_TOKEN_LEFT_CURLY = 123,   1761     G_TOKEN_LEFT_CURLY = 123,
1762     G_TOKEN_RIGHT_CURLY = 125,   1762     G_TOKEN_RIGHT_CURLY = 125,
1763     G_TOKEN_LEFT_BRACE = 91,   1763     G_TOKEN_LEFT_BRACE = 91,
1764     G_TOKEN_RIGHT_BRACE = 93,   1764     G_TOKEN_RIGHT_BRACE = 93,
1765     G_TOKEN_EQUAL_SIGN = 61,   1765     G_TOKEN_EQUAL_SIGN = 61,
1766     G_TOKEN_COMMA = 44,   1766     G_TOKEN_COMMA = 44,
1767     G_TOKEN_NONE = 256,   1767     G_TOKEN_NONE = 256,
1768     G_TOKEN_ERROR = 257,   1768     G_TOKEN_ERROR = 257,
1769     G_TOKEN_CHAR = 258,   1769     G_TOKEN_CHAR = 258,
1770     G_TOKEN_BINARY = 259,   1770     G_TOKEN_BINARY = 259,
1771     G_TOKEN_OCTAL = 260,   1771     G_TOKEN_OCTAL = 260,
1772     G_TOKEN_INT = 261,   1772     G_TOKEN_INT = 261,
1773     G_TOKEN_HEX = 262,   1773     G_TOKEN_HEX = 262,
1774     G_TOKEN_FLOAT = 263,   1774     G_TOKEN_FLOAT = 263,
1775     G_TOKEN_STRING = 264,   1775     G_TOKEN_STRING = 264,
1776     G_TOKEN_SYMBOL = 265,   1776     G_TOKEN_SYMBOL = 265,
1777     G_TOKEN_IDENTIFIER = 266,   1777     G_TOKEN_IDENTIFIER = 266,
1778     G_TOKEN_IDENTIFIER_NULL = 267,   1778     G_TOKEN_IDENTIFIER_NULL = 267,
1779     G_TOKEN_COMMENT_SINGLE = 268,   1779     G_TOKEN_COMMENT_SINGLE = 268,
1780     G_TOKEN_COMMENT_MULTI = 269,   1780     G_TOKEN_COMMENT_MULTI = 269,
1781     G_TOKEN_LAST = 270   1781     G_TOKEN_LAST = 270
1782 } ;   1782 } ;
1783 typedef enum __anonenum_GTokenType_92 GTokenType;   1783 typedef enum __anonenum_GTokenType_92 GTokenType;
1784 union _GTokenValue {   1784 union _GTokenValue {
1785    gpointer v_symbol ;   1785    gpointer v_symbol ;
1786    gchar *v_identifier ;   1786    gchar *v_identifier ;
1787    gulong v_binary ;   1787    gulong v_binary ;
1788    gulong v_octal ;   1788    gulong v_octal ;
1789    gulong v_int ;   1789    gulong v_int ;
1790    guint64 v_int64 ;   1790    guint64 v_int64 ;
1791    gdouble v_float ;   1791    gdouble v_float ;
1792    gulong v_hex ;   1792    gulong v_hex ;
1793    gchar *v_string ;   1793    gchar *v_string ;
1794    gchar *v_comment ;   1794    gchar *v_comment ;
1795    guchar v_char ;   1795    guchar v_char ;
1796    guint v_error ;   1796    guint v_error ;
1797 };   1797 };
1798 struct _GScannerConfig {   1798 struct _GScannerConfig {
1799    gchar *cset_skip_characters ;   1799    gchar *cset_skip_characters ;
1800    gchar *cset_identifier_first ;   1800    gchar *cset_identifier_first ;
1801    gchar *cset_identifier_nth ;   1801    gchar *cset_identifier_nth ;
1802    gchar *cpair_comment_single ;   1802    gchar *cpair_comment_single ;
1803    guint case_sensitive : 1 ;   1803    guint case_sensitive : 1 ;
1804    guint skip_comment_multi : 1 ;   1804    guint skip_comment_multi : 1 ;
1805    guint skip_comment_single : 1 ;   1805    guint skip_comment_single : 1 ;
1806    guint scan_comment_multi : 1 ;   1806    guint scan_comment_multi : 1 ;
1807    guint scan_identifier : 1 ;   1807    guint scan_identifier : 1 ;
1808    guint scan_identifier_1char : 1 ;   1808    guint scan_identifier_1char : 1 ;
1809    guint scan_identifier_NULL : 1 ;   1809    guint scan_identifier_NULL : 1 ;
1810    guint scan_symbols : 1 ;   1810    guint scan_symbols : 1 ;
1811    guint scan_binary : 1 ;   1811    guint scan_binary : 1 ;
1812    guint scan_octal : 1 ;   1812    guint scan_octal : 1 ;
1813    guint scan_float : 1 ;   1813    guint scan_float : 1 ;
1814    guint scan_hex : 1 ;   1814    guint scan_hex : 1 ;
1815    guint scan_hex_dollar : 1 ;   1815    guint scan_hex_dollar : 1 ;
1816    guint scan_string_sq : 1 ;   1816    guint scan_string_sq : 1 ;
1817    guint scan_string_dq : 1 ;   1817    guint scan_string_dq : 1 ;
1818    guint numbers_2_int : 1 ;   1818    guint numbers_2_int : 1 ;
1819    guint int_2_float : 1 ;   1819    guint int_2_float : 1 ;
1820    guint identifier_2_string : 1 ;   1820    guint identifier_2_string : 1 ;
1821    guint char_2_token : 1 ;   1821    guint char_2_token : 1 ;
1822    guint symbol_2_token : 1 ;   1822    guint symbol_2_token : 1 ;
1823    guint scope_0_fallback : 1 ;   1823    guint scope_0_fallback : 1 ;
1824    guint store_int64 : 1 ;   1824    guint store_int64 : 1 ;
1825    guint padding_dummy ;   1825    guint padding_dummy ;
1826 };   1826 };
1827 struct _GScanner {   1827 struct _GScanner {
1828    gpointer user_data ;   1828    gpointer user_data ;
1829    guint max_parse_errors ;   1829    guint max_parse_errors ;
1830    guint parse_errors ;   1830    guint parse_errors ;
1831    gchar const   *input_name ;   1831    gchar const   *input_name ;
1832    GData *qdata ;   1832    GData *qdata ;
1833    GScannerConfig *config ;   1833    GScannerConfig *config ;
1834    GTokenType token ;   1834    GTokenType token ;
1835    GTokenValue value ;   1835    GTokenValue value ;
1836    guint line ;   1836    guint line ;
1837    guint position ;   1837    guint position ;
1838    GTokenType next_token ;   1838    GTokenType next_token ;
1839    GTokenValue next_value ;   1839    GTokenValue next_value ;
1840    guint next_line ;   1840    guint next_line ;
1841    guint next_position ;   1841    guint next_position ;
1842    GHashTable *symbol_table ;   1842    GHashTable *symbol_table ;
1843    gint input_fd ;   1843    gint input_fd ;
1844    gchar const   *text ;   1844    gchar const   *text ;
1845    gchar const   *text_end ;   1845    gchar const   *text_end ;
1846    gchar *buffer ;   1846    gchar *buffer ;
1847    guint scope_id ;   1847    guint scope_id ;
1848    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;   1848    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;
1849 };   1849 };
1850 struct _GSequence;   1850 struct _GSequence;
1851 typedef struct _GSequence GSequence;   1851 typedef struct _GSequence GSequence;
1852 struct _GSequenceNode;   1852 struct _GSequenceNode;
1853 typedef struct _GSequenceNode GSequenceIter;   1853 typedef struct _GSequenceNode GSequenceIter;
1854 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,   1854 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,
1855                                          gpointer data );   1855                                          gpointer data );
1856 enum __anonenum_GShellError_93 {   1856 enum __anonenum_GShellError_93 {
1857     G_SHELL_ERROR_BAD_QUOTING = 0,   1857     G_SHELL_ERROR_BAD_QUOTING = 0,
1858     G_SHELL_ERROR_EMPTY_STRING = 1,   1858     G_SHELL_ERROR_EMPTY_STRING = 1,
1859     G_SHELL_ERROR_FAILED = 2   1859     G_SHELL_ERROR_FAILED = 2
1860 } ;   1860 } ;
1861 typedef enum __anonenum_GShellError_93 GShellError;   1861 typedef enum __anonenum_GShellError_93 GShellError;
1862 enum __anonenum_GSpawnError_94 {   1862 enum __anonenum_GSpawnError_94 {
1863     G_SPAWN_ERROR_FORK = 0,   1863     G_SPAWN_ERROR_FORK = 0,
1864     G_SPAWN_ERROR_READ = 1,   1864     G_SPAWN_ERROR_READ = 1,
1865     G_SPAWN_ERROR_CHDIR = 2,   1865     G_SPAWN_ERROR_CHDIR = 2,
1866     G_SPAWN_ERROR_ACCES = 3,   1866     G_SPAWN_ERROR_ACCES = 3,
1867     G_SPAWN_ERROR_PERM = 4,   1867     G_SPAWN_ERROR_PERM = 4,
1868     G_SPAWN_ERROR_2BIG = 5,   1868     G_SPAWN_ERROR_2BIG = 5,
1869     G_SPAWN_ERROR_NOEXEC = 6,   1869     G_SPAWN_ERROR_NOEXEC = 6,
1870     G_SPAWN_ERROR_NAMETOOLONG = 7,   1870     G_SPAWN_ERROR_NAMETOOLONG = 7,
1871     G_SPAWN_ERROR_NOENT = 8,   1871     G_SPAWN_ERROR_NOENT = 8,
1872     G_SPAWN_ERROR_NOMEM = 9,   1872     G_SPAWN_ERROR_NOMEM = 9,
1873     G_SPAWN_ERROR_NOTDIR = 10,   1873     G_SPAWN_ERROR_NOTDIR = 10,
1874     G_SPAWN_ERROR_LOOP = 11,   1874     G_SPAWN_ERROR_LOOP = 11,
1875     G_SPAWN_ERROR_TXTBUSY = 12,   1875     G_SPAWN_ERROR_TXTBUSY = 12,
1876     G_SPAWN_ERROR_IO = 13,   1876     G_SPAWN_ERROR_IO = 13,
1877     G_SPAWN_ERROR_NFILE = 14,   1877     G_SPAWN_ERROR_NFILE = 14,
1878     G_SPAWN_ERROR_MFILE = 15,   1878     G_SPAWN_ERROR_MFILE = 15,
1879     G_SPAWN_ERROR_INVAL = 16,   1879     G_SPAWN_ERROR_INVAL = 16,
1880     G_SPAWN_ERROR_ISDIR = 17,   1880     G_SPAWN_ERROR_ISDIR = 17,
1881     G_SPAWN_ERROR_LIBBAD = 18,   1881     G_SPAWN_ERROR_LIBBAD = 18,
1882     G_SPAWN_ERROR_FAILED = 19   1882     G_SPAWN_ERROR_FAILED = 19
1883 } ;   1883 } ;
1884 typedef enum __anonenum_GSpawnError_94 GSpawnError;   1884 typedef enum __anonenum_GSpawnError_94 GSpawnError;
1885 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );   1885 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );
1886 enum __anonenum_GSpawnFlags_95 {   1886 enum __anonenum_GSpawnFlags_95 {
1887     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,   1887     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,
1888     G_SPAWN_DO_NOT_REAP_CHILD = 2,   1888     G_SPAWN_DO_NOT_REAP_CHILD = 2,
1889     G_SPAWN_SEARCH_PATH = 4,   1889     G_SPAWN_SEARCH_PATH = 4,
1890     G_SPAWN_STDOUT_TO_DEV_NULL = 8,   1890     G_SPAWN_STDOUT_TO_DEV_NULL = 8,
1891     G_SPAWN_STDERR_TO_DEV_NULL = 16,   1891     G_SPAWN_STDERR_TO_DEV_NULL = 16,
1892     G_SPAWN_CHILD_INHERITS_STDIN = 32,   1892     G_SPAWN_CHILD_INHERITS_STDIN = 32,
1893     G_SPAWN_FILE_AND_ARGV_ZERO = 64   1893     G_SPAWN_FILE_AND_ARGV_ZERO = 64
1894 } ;   1894 } ;
1895 typedef enum __anonenum_GSpawnFlags_95 GSpawnFlags;   1895 typedef enum __anonenum_GSpawnFlags_95 GSpawnFlags;
1896 enum __anonenum_GAsciiType_96 {   1896 enum __anonenum_GAsciiType_96 {
1897     G_ASCII_ALNUM = 1,   1897     G_ASCII_ALNUM = 1,
1898     G_ASCII_ALPHA = 2,   1898     G_ASCII_ALPHA = 2,
1899     G_ASCII_CNTRL = 4,   1899     G_ASCII_CNTRL = 4,
1900     G_ASCII_DIGIT = 8,   1900     G_ASCII_DIGIT = 8,
1901     G_ASCII_GRAPH = 16,   1901     G_ASCII_GRAPH = 16,
1902     G_ASCII_LOWER = 32,   1902     G_ASCII_LOWER = 32,
1903     G_ASCII_PRINT = 64,   1903     G_ASCII_PRINT = 64,
1904     G_ASCII_PUNCT = 128,   1904     G_ASCII_PUNCT = 128,
1905     G_ASCII_SPACE = 256,   1905     G_ASCII_SPACE = 256,
1906     G_ASCII_UPPER = 512,   1906     G_ASCII_UPPER = 512,
1907     G_ASCII_XDIGIT = 1024   1907     G_ASCII_XDIGIT = 1024
1908 } ;   1908 } ;
1909 typedef enum __anonenum_GAsciiType_96 GAsciiType;   1909 typedef enum __anonenum_GAsciiType_96 GAsciiType;
1910 struct GTestCase;   1910 struct GTestCase;
1911 typedef struct GTestCase GTestCase;   1911 typedef struct GTestCase GTestCase;
1912 struct GTestSuite;   1912 struct GTestSuite;
1913 typedef struct GTestSuite GTestSuite;   1913 typedef struct GTestSuite GTestSuite;
1914 enum __anonenum_GTestTrapFlags_97 {   1914 enum __anonenum_GTestTrapFlags_97 {
1915     G_TEST_TRAP_SILENCE_STDOUT = 128,   1915     G_TEST_TRAP_SILENCE_STDOUT = 128,
1916     G_TEST_TRAP_SILENCE_STDERR = 256,   1916     G_TEST_TRAP_SILENCE_STDERR = 256,
1917     G_TEST_TRAP_INHERIT_STDIN = 512   1917     G_TEST_TRAP_INHERIT_STDIN = 512
1918 } ;   1918 } ;
1919 typedef enum __anonenum_GTestTrapFlags_97 GTestTrapFlags;   1919 typedef enum __anonenum_GTestTrapFlags_97 GTestTrapFlags;
1920 struct __anonstruct_GTestConfig_98 {   1920 struct __anonstruct_GTestConfig_98 {
1921    gboolean test_initialized ;   1921    gboolean test_initialized ;
1922    gboolean test_quick ;   1922    gboolean test_quick ;
1923    gboolean test_perf ;   1923    gboolean test_perf ;
1924    gboolean test_verbose ;   1924    gboolean test_verbose ;
1925    gboolean test_quiet ;   1925    gboolean test_quiet ;
1926 };   1926 };
1927 typedef struct __anonstruct_GTestConfig_98 GTestConfig;   1927 typedef struct __anonstruct_GTestConfig_98 GTestConfig;
1928 enum __anonenum_GTestLogType_99 {   1928 enum __anonenum_GTestLogType_99 {
1929     G_TEST_LOG_NONE = 0,   1929     G_TEST_LOG_NONE = 0,
1930     G_TEST_LOG_ERROR = 1,   1930     G_TEST_LOG_ERROR = 1,
1931     G_TEST_LOG_START_BINARY = 2,   1931     G_TEST_LOG_START_BINARY = 2,
1932     G_TEST_LOG_LIST_CASE = 3,   1932     G_TEST_LOG_LIST_CASE = 3,
1933     G_TEST_LOG_SKIP_CASE = 4,   1933     G_TEST_LOG_SKIP_CASE = 4,
1934     G_TEST_LOG_START_CASE = 5,   1934     G_TEST_LOG_START_CASE = 5,
1935     G_TEST_LOG_STOP_CASE = 6,   1935     G_TEST_LOG_STOP_CASE = 6,
1936     G_TEST_LOG_MIN_RESULT = 7,   1936     G_TEST_LOG_MIN_RESULT = 7,
1937     G_TEST_LOG_MAX_RESULT = 8,   1937     G_TEST_LOG_MAX_RESULT = 8,
1938     G_TEST_LOG_MESSAGE = 9   1938     G_TEST_LOG_MESSAGE = 9
1939 } ;   1939 } ;
1940 typedef enum __anonenum_GTestLogType_99 GTestLogType;   1940 typedef enum __anonenum_GTestLogType_99 GTestLogType;
1941 struct __anonstruct_GTestLogMsg_100 {   1941 struct __anonstruct_GTestLogMsg_100 {
1942    GTestLogType log_type ;   1942    GTestLogType log_type ;
1943    guint n_strings ;   1943    guint n_strings ;
1944    gchar **strings ;   1944    gchar **strings ;
1945    guint n_nums ;   1945    guint n_nums ;
1946    long double *nums ;   1946    long double *nums ;
1947 };   1947 };
1948 typedef struct __anonstruct_GTestLogMsg_100 GTestLogMsg;   1948 typedef struct __anonstruct_GTestLogMsg_100 GTestLogMsg;
1949 struct __anonstruct_GTestLogBuffer_101 {   1949 struct __anonstruct_GTestLogBuffer_101 {
1950    GString *data ;   1950    GString *data ;
1951    GSList *msgs ;   1951    GSList *msgs ;
1952 };   1952 };
1953 typedef struct __anonstruct_GTestLogBuffer_101 GTestLogBuffer;   1953 typedef struct __anonstruct_GTestLogBuffer_101 GTestLogBuffer;
1954 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,   1954 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,
1955                                       GLogLevelFlags log_level ,   1955                                       GLogLevelFlags log_level ,
1956                                       gchar const   *message ,   1956                                       gchar const   *message ,
1957                                       gpointer user_data );   1957                                       gpointer user_data );
1958 struct _GThreadPool;   1958 struct _GThreadPool;
1959 typedef struct _GThreadPool GThreadPool;   1959 typedef struct _GThreadPool GThreadPool;
1960 struct _GThreadPool {   1960 struct _GThreadPool {
1961    void (*func)(gpointer data , gpointer user_data ) ;   1961    void (*func)(gpointer data , gpointer user_data ) ;
1962    gpointer user_data ;   1962    gpointer user_data ;
1963    gboolean exclusive ;   1963    gboolean exclusive ;
1964 };   1964 };
1965 struct _GTimer;   1965 struct _GTimer;
1966 typedef struct _GTimer GTimer;   1966 typedef struct _GTimer GTimer;
1967 struct _GTree;   1967 struct _GTree;
1968 typedef struct _GTree GTree;   1968 typedef struct _GTree GTree;
1969 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );   1969 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );
1970 struct _GVariantType;   1970 struct _GVariantType;
1971 typedef struct _GVariantType GVariantType;   1971 typedef struct _GVariantType GVariantType;
1972 struct _GVariant;   1972 struct _GVariant;
1973 typedef struct _GVariant GVariant;   1973 typedef struct _GVariant GVariant;
1974 enum __anonenum_GVariantClass_102 {   1974 enum __anonenum_GVariantClass_102 {
1975     G_VARIANT_CLASS_BOOLEAN = 98,   1975     G_VARIANT_CLASS_BOOLEAN = 98,
1976     G_VARIANT_CLASS_BYTE = 121,   1976     G_VARIANT_CLASS_BYTE = 121,
1977     G_VARIANT_CLASS_INT16 = 110,   1977     G_VARIANT_CLASS_INT16 = 110,
1978     G_VARIANT_CLASS_UINT16 = 113,   1978     G_VARIANT_CLASS_UINT16 = 113,
1979     G_VARIANT_CLASS_INT32 = 105,   1979     G_VARIANT_CLASS_INT32 = 105,
1980     G_VARIANT_CLASS_UINT32 = 117,   1980     G_VARIANT_CLASS_UINT32 = 117,
1981     G_VARIANT_CLASS_INT64 = 120,   1981     G_VARIANT_CLASS_INT64 = 120,
1982     G_VARIANT_CLASS_UINT64 = 116,   1982     G_VARIANT_CLASS_UINT64 = 116,
1983     G_VARIANT_CLASS_HANDLE = 104,   1983     G_VARIANT_CLASS_HANDLE = 104,
1984     G_VARIANT_CLASS_DOUBLE = 100,   1984     G_VARIANT_CLASS_DOUBLE = 100,
1985     G_VARIANT_CLASS_STRING = 115,   1985     G_VARIANT_CLASS_STRING = 115,
1986     G_VARIANT_CLASS_OBJECT_PATH = 111,   1986     G_VARIANT_CLASS_OBJECT_PATH = 111,
1987     G_VARIANT_CLASS_SIGNATURE = 103,   1987     G_VARIANT_CLASS_SIGNATURE = 103,
1988     G_VARIANT_CLASS_VARIANT = 118,   1988     G_VARIANT_CLASS_VARIANT = 118,
1989     G_VARIANT_CLASS_MAYBE = 109,   1989     G_VARIANT_CLASS_MAYBE = 109,
1990     G_VARIANT_CLASS_ARRAY = 97,   1990     G_VARIANT_CLASS_ARRAY = 97,
1991     G_VARIANT_CLASS_TUPLE = 40,   1991     G_VARIANT_CLASS_TUPLE = 40,
1992     G_VARIANT_CLASS_DICT_ENTRY = 123   1992     G_VARIANT_CLASS_DICT_ENTRY = 123
1993 } ;   1993 } ;
1994 typedef enum __anonenum_GVariantClass_102 GVariantClass;   1994 typedef enum __anonenum_GVariantClass_102 GVariantClass;
1995 struct _GVariantIter;   1995 struct _GVariantIter;
1996 typedef struct _GVariantIter GVariantIter;   1996 typedef struct _GVariantIter GVariantIter;
1997 struct _GVariantIter {   1997 struct _GVariantIter {
1998    gsize x[16] ;   1998    gsize x[16] ;
1999 };   1999 };
2000 struct _GVariantBuilder;   2000 struct _GVariantBuilder;
2001 typedef struct _GVariantBuilder GVariantBuilder;   2001 typedef struct _GVariantBuilder GVariantBuilder;
2002 struct _GVariantBuilder {   2002 struct _GVariantBuilder {
2003    gsize x[16] ;   2003    gsize x[16] ;
2004 };   2004 };
2005 enum __anonenum_103 {   2005 enum __anonenum_103 {
2006     _ISupper = 256,   2006     _ISupper = 256,
2007     _ISlower = 512,   2007     _ISlower = 512,
2008     _ISalpha = 1024,   2008     _ISalpha = 1024,
2009     _ISdigit = 2048,   2009     _ISdigit = 2048,
2010     _ISxdigit = 4096,   2010     _ISxdigit = 4096,
2011     _ISspace = 8192,   2011     _ISspace = 8192,
2012     _ISprint = 16384,   2012     _ISprint = 16384,
2013     _ISgraph = 32768,   2013     _ISgraph = 32768,
2014     _ISblank = 1,   2014     _ISblank = 1,
2015     _IScntrl = 2,   2015     _IScntrl = 2,
2016     _ISpunct = 4,   2016     _ISpunct = 4,
2017     _ISalnum = 8   2017     _ISalnum = 8
2018 } ;   2018 } ;
2019 struct stat {   2019 struct stat {
2020    __dev_t st_dev ;   2020    __dev_t st_dev ;
2021    unsigned short __pad1 ;   2021    unsigned short __pad1 ;
2022    __ino_t __st_ino ;   2022    __ino_t __st_ino ;
2023    __mode_t st_mode ;   2023    __mode_t st_mode ;
2024    __nlink_t st_nlink ;   2024    __nlink_t st_nlink ;
2025    __uid_t st_uid ;   2025    __uid_t st_uid ;
2026    __gid_t st_gid ;   2026    __gid_t st_gid ;
2027    __dev_t st_rdev ;   2027    __dev_t st_rdev ;
2028    unsigned short __pad2 ;   2028    unsigned short __pad2 ;
2029    __off64_t st_size ;   2029    __off64_t st_size ;
2030    __blksize_t st_blksize ;   2030    __blksize_t st_blksize ;
2031    __blkcnt64_t st_blocks ;   2031    __blkcnt64_t st_blocks ;
2032    struct timespec st_atim ;   2032    struct timespec st_atim ;
2033    struct timespec st_mtim ;   2033    struct timespec st_mtim ;
2034    struct timespec st_ctim ;   2034    struct timespec st_ctim ;
2035    __ino64_t st_ino ;   2035    __ino64_t st_ino ;
2036 };   2036 };
2037 struct flock {   2037 struct flock {
2038    short l_type ;   2038    short l_type ;
2039    short l_whence ;   2039    short l_whence ;
2040    __off64_t l_start ;   2040    __off64_t l_start ;
2041    __off64_t l_len ;   2041    __off64_t l_len ;
2042    __pid_t l_pid ;   2042    __pid_t l_pid ;
2043 };   2043 };
2044 typedef __useconds_t useconds_t;   2044 typedef __useconds_t useconds_t;
2045 typedef __intptr_t intptr_t;   2045 typedef __intptr_t intptr_t;
2046 typedef __socklen_t socklen_t;   2046 typedef __socklen_t socklen_t;
2047 enum __anonenum_104 {   2047 enum __anonenum_104 {
2048     _PC_LINK_MAX = 0,   2048     _PC_LINK_MAX = 0,
2049     _PC_MAX_CANON = 1,   2049     _PC_MAX_CANON = 1,
2050     _PC_MAX_INPUT = 2,   2050     _PC_MAX_INPUT = 2,
2051     _PC_NAME_MAX = 3,   2051     _PC_NAME_MAX = 3,
2052     _PC_PATH_MAX = 4,   2052     _PC_PATH_MAX = 4,
2053     _PC_PIPE_BUF = 5,   2053     _PC_PIPE_BUF = 5,
2054     _PC_CHOWN_RESTRICTED = 6,   2054     _PC_CHOWN_RESTRICTED = 6,
2055     _PC_NO_TRUNC = 7,   2055     _PC_NO_TRUNC = 7,
2056     _PC_VDISABLE = 8,   2056     _PC_VDISABLE = 8,
2057     _PC_SYNC_IO = 9,   2057     _PC_SYNC_IO = 9,
2058     _PC_ASYNC_IO = 10,   2058     _PC_ASYNC_IO = 10,
2059     _PC_PRIO_IO = 11,   2059     _PC_PRIO_IO = 11,
2060     _PC_SOCK_MAXBUF = 12,   2060     _PC_SOCK_MAXBUF = 12,
2061     _PC_FILESIZEBITS = 13,   2061     _PC_FILESIZEBITS = 13,
2062     _PC_REC_INCR_XFER_SIZE = 14,   2062     _PC_REC_INCR_XFER_SIZE = 14,
2063     _PC_REC_MAX_XFER_SIZE = 15,   2063     _PC_REC_MAX_XFER_SIZE = 15,
2064     _PC_REC_MIN_XFER_SIZE = 16,   2064     _PC_REC_MIN_XFER_SIZE = 16,
2065     _PC_REC_XFER_ALIGN = 17,   2065     _PC_REC_XFER_ALIGN = 17,
2066     _PC_ALLOC_SIZE_MIN = 18,   2066     _PC_ALLOC_SIZE_MIN = 18,
2067     _PC_SYMLINK_MAX = 19,   2067     _PC_SYMLINK_MAX = 19,
2068     _PC_2_SYMLINKS = 20   2068     _PC_2_SYMLINKS = 20
2069 } ;   2069 } ;
2070 enum __anonenum_105 {   2070 enum __anonenum_105 {
2071     _SC_ARG_MAX = 0,   2071     _SC_ARG_MAX = 0,
2072     _SC_CHILD_MAX = 1,   2072     _SC_CHILD_MAX = 1,
2073     _SC_CLK_TCK = 2,   2073     _SC_CLK_TCK = 2,
2074     _SC_NGROUPS_MAX = 3,   2074     _SC_NGROUPS_MAX = 3,
2075     _SC_OPEN_MAX = 4,   2075     _SC_OPEN_MAX = 4,
2076     _SC_STREAM_MAX = 5,   2076     _SC_STREAM_MAX = 5,
2077     _SC_TZNAME_MAX = 6,   2077     _SC_TZNAME_MAX = 6,
2078     _SC_JOB_CONTROL = 7,   2078     _SC_JOB_CONTROL = 7,
2079     _SC_SAVED_IDS = 8,   2079     _SC_SAVED_IDS = 8,
2080     _SC_REALTIME_SIGNALS = 9,   2080     _SC_REALTIME_SIGNALS = 9,
2081     _SC_PRIORITY_SCHEDULING = 10,   2081     _SC_PRIORITY_SCHEDULING = 10,
2082     _SC_TIMERS = 11,   2082     _SC_TIMERS = 11,
2083     _SC_ASYNCHRONOUS_IO = 12,   2083     _SC_ASYNCHRONOUS_IO = 12,
2084     _SC_PRIORITIZED_IO = 13,   2084     _SC_PRIORITIZED_IO = 13,
2085     _SC_SYNCHRONIZED_IO = 14,   2085     _SC_SYNCHRONIZED_IO = 14,
2086     _SC_FSYNC = 15,   2086     _SC_FSYNC = 15,
2087     _SC_MAPPED_FILES = 16,   2087     _SC_MAPPED_FILES = 16,
2088     _SC_MEMLOCK = 17,   2088     _SC_MEMLOCK = 17,
2089     _SC_MEMLOCK_RANGE = 18,   2089     _SC_MEMLOCK_RANGE = 18,
2090     _SC_MEMORY_PROTECTION = 19,   2090     _SC_MEMORY_PROTECTION = 19,
2091     _SC_MESSAGE_PASSING = 20,   2091     _SC_MESSAGE_PASSING = 20,
2092     _SC_SEMAPHORES = 21,   2092     _SC_SEMAPHORES = 21,
2093     _SC_SHARED_MEMORY_OBJECTS = 22,   2093     _SC_SHARED_MEMORY_OBJECTS = 22,
2094     _SC_AIO_LISTIO_MAX = 23,   2094     _SC_AIO_LISTIO_MAX = 23,
2095     _SC_AIO_MAX = 24,   2095     _SC_AIO_MAX = 24,
2096     _SC_AIO_PRIO_DELTA_MAX = 25,   2096     _SC_AIO_PRIO_DELTA_MAX = 25,
2097     _SC_DELAYTIMER_MAX = 26,   2097     _SC_DELAYTIMER_MAX = 26,
2098     _SC_MQ_OPEN_MAX = 27,   2098     _SC_MQ_OPEN_MAX = 27,
2099     _SC_MQ_PRIO_MAX = 28,   2099     _SC_MQ_PRIO_MAX = 28,
2100     _SC_VERSION = 29,   2100     _SC_VERSION = 29,
2101     _SC_PAGESIZE = 30,   2101     _SC_PAGESIZE = 30,
2102     _SC_RTSIG_MAX = 31,   2102     _SC_RTSIG_MAX = 31,
2103     _SC_SEM_NSEMS_MAX = 32,   2103     _SC_SEM_NSEMS_MAX = 32,
2104     _SC_SEM_VALUE_MAX = 33,   2104     _SC_SEM_VALUE_MAX = 33,
2105     _SC_SIGQUEUE_MAX = 34,   2105     _SC_SIGQUEUE_MAX = 34,
2106     _SC_TIMER_MAX = 35,   2106     _SC_TIMER_MAX = 35,
2107     _SC_BC_BASE_MAX = 36,   2107     _SC_BC_BASE_MAX = 36,
2108     _SC_BC_DIM_MAX = 37,   2108     _SC_BC_DIM_MAX = 37,
2109     _SC_BC_SCALE_MAX = 38,   2109     _SC_BC_SCALE_MAX = 38,
2110     _SC_BC_STRING_MAX = 39,   2110     _SC_BC_STRING_MAX = 39,
2111     _SC_COLL_WEIGHTS_MAX = 40,   2111     _SC_COLL_WEIGHTS_MAX = 40,
2112     _SC_EQUIV_CLASS_MAX = 41,   2112     _SC_EQUIV_CLASS_MAX = 41,
2113     _SC_EXPR_NEST_MAX = 42,   2113     _SC_EXPR_NEST_MAX = 42,
2114     _SC_LINE_MAX = 43,   2114     _SC_LINE_MAX = 43,
2115     _SC_RE_DUP_MAX = 44,   2115     _SC_RE_DUP_MAX = 44,
2116     _SC_CHARCLASS_NAME_MAX = 45,   2116     _SC_CHARCLASS_NAME_MAX = 45,
2117     _SC_2_VERSION = 46,   2117     _SC_2_VERSION = 46,
2118     _SC_2_C_BIND = 47,   2118     _SC_2_C_BIND = 47,
2119     _SC_2_C_DEV = 48,   2119     _SC_2_C_DEV = 48,
2120     _SC_2_FORT_DEV = 49,   2120     _SC_2_FORT_DEV = 49,
2121     _SC_2_FORT_RUN = 50,   2121     _SC_2_FORT_RUN = 50,
2122     _SC_2_SW_DEV = 51,   2122     _SC_2_SW_DEV = 51,
2123     _SC_2_LOCALEDEF = 52,   2123     _SC_2_LOCALEDEF = 52,
2124     _SC_PII = 53,   2124     _SC_PII = 53,
2125     _SC_PII_XTI = 54,   2125     _SC_PII_XTI = 54,
2126     _SC_PII_SOCKET = 55,   2126     _SC_PII_SOCKET = 55,
2127     _SC_PII_INTERNET = 56,   2127     _SC_PII_INTERNET = 56,
2128     _SC_PII_OSI = 57,   2128     _SC_PII_OSI = 57,
2129     _SC_POLL = 58,   2129     _SC_POLL = 58,
2130     _SC_SELECT = 59,   2130     _SC_SELECT = 59,
2131     _SC_UIO_MAXIOV = 60,   2131     _SC_UIO_MAXIOV = 60,
2132     _SC_IOV_MAX = 60,   2132     _SC_IOV_MAX = 60,
2133     _SC_PII_INTERNET_STREAM = 61,   2133     _SC_PII_INTERNET_STREAM = 61,
2134     _SC_PII_INTERNET_DGRAM = 62,   2134     _SC_PII_INTERNET_DGRAM = 62,
2135     _SC_PII_OSI_COTS = 63,   2135     _SC_PII_OSI_COTS = 63,
2136     _SC_PII_OSI_CLTS = 64,   2136     _SC_PII_OSI_CLTS = 64,
2137     _SC_PII_OSI_M = 65,   2137     _SC_PII_OSI_M = 65,
2138     _SC_T_IOV_MAX = 66,   2138     _SC_T_IOV_MAX = 66,
2139     _SC_THREADS = 67,   2139     _SC_THREADS = 67,
2140     _SC_THREAD_SAFE_FUNCTIONS = 68,   2140     _SC_THREAD_SAFE_FUNCTIONS = 68,
2141     _SC_GETGR_R_SIZE_MAX = 69,   2141     _SC_GETGR_R_SIZE_MAX = 69,
2142     _SC_GETPW_R_SIZE_MAX = 70,   2142     _SC_GETPW_R_SIZE_MAX = 70,
2143     _SC_LOGIN_NAME_MAX = 71,   2143     _SC_LOGIN_NAME_MAX = 71,
2144     _SC_TTY_NAME_MAX = 72,   2144     _SC_TTY_NAME_MAX = 72,
2145     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,   2145     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,
2146     _SC_THREAD_KEYS_MAX = 74,   2146     _SC_THREAD_KEYS_MAX = 74,
2147     _SC_THREAD_STACK_MIN = 75,   2147     _SC_THREAD_STACK_MIN = 75,
2148     _SC_THREAD_THREADS_MAX = 76,   2148     _SC_THREAD_THREADS_MAX = 76,
2149     _SC_THREAD_ATTR_STACKADDR = 77,   2149     _SC_THREAD_ATTR_STACKADDR = 77,
2150     _SC_THREAD_ATTR_STACKSIZE = 78,   2150     _SC_THREAD_ATTR_STACKSIZE = 78,
2151     _SC_THREAD_PRIORITY_SCHEDULING = 79,   2151     _SC_THREAD_PRIORITY_SCHEDULING = 79,
2152     _SC_THREAD_PRIO_INHERIT = 80,   2152     _SC_THREAD_PRIO_INHERIT = 80,
2153     _SC_THREAD_PRIO_PROTECT = 81,   2153     _SC_THREAD_PRIO_PROTECT = 81,
2154     _SC_THREAD_PROCESS_SHARED = 82,   2154     _SC_THREAD_PROCESS_SHARED = 82,
2155     _SC_NPROCESSORS_CONF = 83,   2155     _SC_NPROCESSORS_CONF = 83,
2156     _SC_NPROCESSORS_ONLN = 84,   2156     _SC_NPROCESSORS_ONLN = 84,
2157     _SC_PHYS_PAGES = 85,   2157     _SC_PHYS_PAGES = 85,
2158     _SC_AVPHYS_PAGES = 86,   2158     _SC_AVPHYS_PAGES = 86,
2159     _SC_ATEXIT_MAX = 87,   2159     _SC_ATEXIT_MAX = 87,
2160     _SC_PASS_MAX = 88,   2160     _SC_PASS_MAX = 88,
2161     _SC_XOPEN_VERSION = 89,   2161     _SC_XOPEN_VERSION = 89,
2162     _SC_XOPEN_XCU_VERSION = 90,   2162     _SC_XOPEN_XCU_VERSION = 90,
2163     _SC_XOPEN_UNIX = 91,   2163     _SC_XOPEN_UNIX = 91,
2164     _SC_XOPEN_CRYPT = 92,   2164     _SC_XOPEN_CRYPT = 92,
2165     _SC_XOPEN_ENH_I18N = 93,   2165     _SC_XOPEN_ENH_I18N = 93,
2166     _SC_XOPEN_SHM = 94,   2166     _SC_XOPEN_SHM = 94,
2167     _SC_2_CHAR_TERM = 95,   2167     _SC_2_CHAR_TERM = 95,
2168     _SC_2_C_VERSION = 96,   2168     _SC_2_C_VERSION = 96,
2169     _SC_2_UPE = 97,   2169     _SC_2_UPE = 97,
2170     _SC_XOPEN_XPG2 = 98,   2170     _SC_XOPEN_XPG2 = 98,
2171     _SC_XOPEN_XPG3 = 99,   2171     _SC_XOPEN_XPG3 = 99,
2172     _SC_XOPEN_XPG4 = 100,   2172     _SC_XOPEN_XPG4 = 100,
2173     _SC_CHAR_BIT = 101,   2173     _SC_CHAR_BIT = 101,
2174     _SC_CHAR_MAX = 102,   2174     _SC_CHAR_MAX = 102,
2175     _SC_CHAR_MIN = 103,   2175     _SC_CHAR_MIN = 103,
2176     _SC_INT_MAX = 104,   2176     _SC_INT_MAX = 104,
2177     _SC_INT_MIN = 105,   2177     _SC_INT_MIN = 105,
2178     _SC_LONG_BIT = 106,   2178     _SC_LONG_BIT = 106,
2179     _SC_WORD_BIT = 107,   2179     _SC_WORD_BIT = 107,
2180     _SC_MB_LEN_MAX = 108,   2180     _SC_MB_LEN_MAX = 108,
2181     _SC_NZERO = 109,   2181     _SC_NZERO = 109,
2182     _SC_SSIZE_MAX = 110,   2182     _SC_SSIZE_MAX = 110,
2183     _SC_SCHAR_MAX = 111,   2183     _SC_SCHAR_MAX = 111,
2184     _SC_SCHAR_MIN = 112,   2184     _SC_SCHAR_MIN = 112,
2185     _SC_SHRT_MAX = 113,   2185     _SC_SHRT_MAX = 113,
2186     _SC_SHRT_MIN = 114,   2186     _SC_SHRT_MIN = 114,
2187     _SC_UCHAR_MAX = 115,   2187     _SC_UCHAR_MAX = 115,
2188     _SC_UINT_MAX = 116,   2188     _SC_UINT_MAX = 116,
2189     _SC_ULONG_MAX = 117,   2189     _SC_ULONG_MAX = 117,
2190     _SC_USHRT_MAX = 118,   2190     _SC_USHRT_MAX = 118,
2191     _SC_NL_ARGMAX = 119,   2191     _SC_NL_ARGMAX = 119,
2192     _SC_NL_LANGMAX = 120,   2192     _SC_NL_LANGMAX = 120,
2193     _SC_NL_MSGMAX = 121,   2193     _SC_NL_MSGMAX = 121,
2194     _SC_NL_NMAX = 122,   2194     _SC_NL_NMAX = 122,
2195     _SC_NL_SETMAX = 123,   2195     _SC_NL_SETMAX = 123,
2196     _SC_NL_TEXTMAX = 124,   2196     _SC_NL_TEXTMAX = 124,
2197     _SC_XBS5_ILP32_OFF32 = 125,   2197     _SC_XBS5_ILP32_OFF32 = 125,
2198     _SC_XBS5_ILP32_OFFBIG = 126,   2198     _SC_XBS5_ILP32_OFFBIG = 126,
2199     _SC_XBS5_LP64_OFF64 = 127,   2199     _SC_XBS5_LP64_OFF64 = 127,
2200     _SC_XBS5_LPBIG_OFFBIG = 128,   2200     _SC_XBS5_LPBIG_OFFBIG = 128,
2201     _SC_XOPEN_LEGACY = 129,   2201     _SC_XOPEN_LEGACY = 129,
2202     _SC_XOPEN_REALTIME = 130,   2202     _SC_XOPEN_REALTIME = 130,
2203     _SC_XOPEN_REALTIME_THREADS = 131,   2203     _SC_XOPEN_REALTIME_THREADS = 131,
2204     _SC_ADVISORY_INFO = 132,   2204     _SC_ADVISORY_INFO = 132,
2205     _SC_BARRIERS = 133,   2205     _SC_BARRIERS = 133,
2206     _SC_BASE = 134,   2206     _SC_BASE = 134,
2207     _SC_C_LANG_SUPPORT = 135,   2207     _SC_C_LANG_SUPPORT = 135,
2208     _SC_C_LANG_SUPPORT_R = 136,   2208     _SC_C_LANG_SUPPORT_R = 136,
2209     _SC_CLOCK_SELECTION = 137,   2209     _SC_CLOCK_SELECTION = 137,
2210     _SC_CPUTIME = 138,   2210     _SC_CPUTIME = 138,
2211     _SC_THREAD_CPUTIME = 139,   2211     _SC_THREAD_CPUTIME = 139,
2212     _SC_DEVICE_IO = 140,   2212     _SC_DEVICE_IO = 140,
2213     _SC_DEVICE_SPECIFIC = 141,   2213     _SC_DEVICE_SPECIFIC = 141,
2214     _SC_DEVICE_SPECIFIC_R = 142,   2214     _SC_DEVICE_SPECIFIC_R = 142,
2215     _SC_FD_MGMT = 143,   2215     _SC_FD_MGMT = 143,
2216     _SC_FIFO = 144,   2216     _SC_FIFO = 144,
2217     _SC_PIPE = 145,   2217     _SC_PIPE = 145,
2218     _SC_FILE_ATTRIBUTES = 146,   2218     _SC_FILE_ATTRIBUTES = 146,
2219     _SC_FILE_LOCKING = 147,   2219     _SC_FILE_LOCKING = 147,
2220     _SC_FILE_SYSTEM = 148,   2220     _SC_FILE_SYSTEM = 148,
2221     _SC_MONOTONIC_CLOCK = 149,   2221     _SC_MONOTONIC_CLOCK = 149,
2222     _SC_MULTI_PROCESS = 150,   2222     _SC_MULTI_PROCESS = 150,
2223     _SC_SINGLE_PROCESS = 151,   2223     _SC_SINGLE_PROCESS = 151,
2224     _SC_NETWORKING = 152,   2224     _SC_NETWORKING = 152,
2225     _SC_READER_WRITER_LOCKS = 153,   2225     _SC_READER_WRITER_LOCKS = 153,
2226     _SC_SPIN_LOCKS = 154,   2226     _SC_SPIN_LOCKS = 154,
2227     _SC_REGEXP = 155,   2227     _SC_REGEXP = 155,
2228     _SC_REGEX_VERSION = 156,   2228     _SC_REGEX_VERSION = 156,
2229     _SC_SHELL = 157,   2229     _SC_SHELL = 157,
2230     _SC_SIGNALS = 158,   2230     _SC_SIGNALS = 158,
2231     _SC_SPAWN = 159,   2231     _SC_SPAWN = 159,
2232     _SC_SPORADIC_SERVER = 160,   2232     _SC_SPORADIC_SERVER = 160,
2233     _SC_THREAD_SPORADIC_SERVER = 161,   2233     _SC_THREAD_SPORADIC_SERVER = 161,
2234     _SC_SYSTEM_DATABASE = 162,   2234     _SC_SYSTEM_DATABASE = 162,
2235     _SC_SYSTEM_DATABASE_R = 163,   2235     _SC_SYSTEM_DATABASE_R = 163,
2236     _SC_TIMEOUTS = 164,   2236     _SC_TIMEOUTS = 164,
2237     _SC_TYPED_MEMORY_OBJECTS = 165,   2237     _SC_TYPED_MEMORY_OBJECTS = 165,
2238     _SC_USER_GROUPS = 166,   2238     _SC_USER_GROUPS = 166,
2239     _SC_USER_GROUPS_R = 167,   2239     _SC_USER_GROUPS_R = 167,
2240     _SC_2_PBS = 168,   2240     _SC_2_PBS = 168,
2241     _SC_2_PBS_ACCOUNTING = 169,   2241     _SC_2_PBS_ACCOUNTING = 169,
2242     _SC_2_PBS_LOCATE = 170,   2242     _SC_2_PBS_LOCATE = 170,
2243     _SC_2_PBS_MESSAGE = 171,   2243     _SC_2_PBS_MESSAGE = 171,
2244     _SC_2_PBS_TRACK = 172,   2244     _SC_2_PBS_TRACK = 172,
2245     _SC_SYMLOOP_MAX = 173,   2245     _SC_SYMLOOP_MAX = 173,
2246     _SC_STREAMS = 174,   2246     _SC_STREAMS = 174,
2247     _SC_2_PBS_CHECKPOINT = 175,   2247     _SC_2_PBS_CHECKPOINT = 175,
2248     _SC_V6_ILP32_OFF32 = 176,   2248     _SC_V6_ILP32_OFF32 = 176,
2249     _SC_V6_ILP32_OFFBIG = 177,   2249     _SC_V6_ILP32_OFFBIG = 177,
2250     _SC_V6_LP64_OFF64 = 178,   2250     _SC_V6_LP64_OFF64 = 178,
2251     _SC_V6_LPBIG_OFFBIG = 179,   2251     _SC_V6_LPBIG_OFFBIG = 179,
2252     _SC_HOST_NAME_MAX = 180,   2252     _SC_HOST_NAME_MAX = 180,
2253     _SC_TRACE = 181,   2253     _SC_TRACE = 181,
2254     _SC_TRACE_EVENT_FILTER = 182,   2254     _SC_TRACE_EVENT_FILTER = 182,
2255     _SC_TRACE_INHERIT = 183,   2255     _SC_TRACE_INHERIT = 183,
2256     _SC_TRACE_LOG = 184,   2256     _SC_TRACE_LOG = 184,
2257     _SC_LEVEL1_ICACHE_SIZE = 185,   2257     _SC_LEVEL1_ICACHE_SIZE = 185,
2258     _SC_LEVEL1_ICACHE_ASSOC = 186,   2258     _SC_LEVEL1_ICACHE_ASSOC = 186,
2259     _SC_LEVEL1_ICACHE_LINESIZE = 187,   2259     _SC_LEVEL1_ICACHE_LINESIZE = 187,
2260     _SC_LEVEL1_DCACHE_SIZE = 188,   2260     _SC_LEVEL1_DCACHE_SIZE = 188,
2261     _SC_LEVEL1_DCACHE_ASSOC = 189,   2261     _SC_LEVEL1_DCACHE_ASSOC = 189,
2262     _SC_LEVEL1_DCACHE_LINESIZE = 190,   2262     _SC_LEVEL1_DCACHE_LINESIZE = 190,
2263     _SC_LEVEL2_CACHE_SIZE = 191,   2263     _SC_LEVEL2_CACHE_SIZE = 191,
2264     _SC_LEVEL2_CACHE_ASSOC = 192,   2264     _SC_LEVEL2_CACHE_ASSOC = 192,
2265     _SC_LEVEL2_CACHE_LINESIZE = 193,   2265     _SC_LEVEL2_CACHE_LINESIZE = 193,
2266     _SC_LEVEL3_CACHE_SIZE = 194,   2266     _SC_LEVEL3_CACHE_SIZE = 194,
2267     _SC_LEVEL3_CACHE_ASSOC = 195,   2267     _SC_LEVEL3_CACHE_ASSOC = 195,
2268     _SC_LEVEL3_CACHE_LINESIZE = 196,   2268     _SC_LEVEL3_CACHE_LINESIZE = 196,
2269     _SC_LEVEL4_CACHE_SIZE = 197,   2269     _SC_LEVEL4_CACHE_SIZE = 197,
2270     _SC_LEVEL4_CACHE_ASSOC = 198,   2270     _SC_LEVEL4_CACHE_ASSOC = 198,
2271     _SC_LEVEL4_CACHE_LINESIZE = 199,   2271     _SC_LEVEL4_CACHE_LINESIZE = 199,
2272     _SC_IPV6 = 235,   2272     _SC_IPV6 = 235,
2273     _SC_RAW_SOCKETS = 236,   2273     _SC_RAW_SOCKETS = 236,
2274     _SC_V7_ILP32_OFF32 = 237,   2274     _SC_V7_ILP32_OFF32 = 237,
2275     _SC_V7_ILP32_OFFBIG = 238,   2275     _SC_V7_ILP32_OFFBIG = 238,
2276     _SC_V7_LP64_OFF64 = 239,   2276     _SC_V7_LP64_OFF64 = 239,
2277     _SC_V7_LPBIG_OFFBIG = 240,   2277     _SC_V7_LPBIG_OFFBIG = 240,
2278     _SC_SS_REPL_MAX = 241,   2278     _SC_SS_REPL_MAX = 241,
2279     _SC_TRACE_EVENT_NAME_MAX = 242,   2279     _SC_TRACE_EVENT_NAME_MAX = 242,
2280     _SC_TRACE_NAME_MAX = 243,   2280     _SC_TRACE_NAME_MAX = 243,
2281     _SC_TRACE_SYS_MAX = 244,   2281     _SC_TRACE_SYS_MAX = 244,
2282     _SC_TRACE_USER_EVENT_MAX = 245,   2282     _SC_TRACE_USER_EVENT_MAX = 245,
2283     _SC_XOPEN_STREAMS = 246,   2283     _SC_XOPEN_STREAMS = 246,
2284     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,   2284     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,
2285     _SC_THREAD_ROBUST_PRIO_PROTECT = 248   2285     _SC_THREAD_ROBUST_PRIO_PROTECT = 248
2286 } ;   2286 } ;
2287 enum __anonenum_106 {   2287 enum __anonenum_106 {
2288     _CS_PATH = 0,   2288     _CS_PATH = 0,
2289     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,   2289     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,
2290     _CS_GNU_LIBC_VERSION = 2,   2290     _CS_GNU_LIBC_VERSION = 2,
2291     _CS_GNU_LIBPTHREAD_VERSION = 3,   2291     _CS_GNU_LIBPTHREAD_VERSION = 3,
2292     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,   2292     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,
2293     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,   2293     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,
2294     _CS_LFS_CFLAGS = 1000,   2294     _CS_LFS_CFLAGS = 1000,
2295     _CS_LFS_LDFLAGS = 1001,   2295     _CS_LFS_LDFLAGS = 1001,
2296     _CS_LFS_LIBS = 1002,   2296     _CS_LFS_LIBS = 1002,
2297     _CS_LFS_LINTFLAGS = 1003,   2297     _CS_LFS_LINTFLAGS = 1003,
2298     _CS_LFS64_CFLAGS = 1004,   2298     _CS_LFS64_CFLAGS = 1004,
2299     _CS_LFS64_LDFLAGS = 1005,   2299     _CS_LFS64_LDFLAGS = 1005,
2300     _CS_LFS64_LIBS = 1006,   2300     _CS_LFS64_LIBS = 1006,
2301     _CS_LFS64_LINTFLAGS = 1007,   2301     _CS_LFS64_LINTFLAGS = 1007,
2302     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,   2302     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
2303     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,   2303     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,
2304     _CS_XBS5_ILP32_OFF32_LIBS = 1102,   2304     _CS_XBS5_ILP32_OFF32_LIBS = 1102,
2305     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,   2305     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,
2306     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,   2306     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,
2307     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,   2307     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,
2308     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,   2308     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,
2309     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,   2309     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,
2310     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,   2310     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,
2311     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,   2311     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,
2312     _CS_XBS5_LP64_OFF64_LIBS = 1110,   2312     _CS_XBS5_LP64_OFF64_LIBS = 1110,
2313     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,   2313     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,
2314     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,   2314     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,
2315     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,   2315     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,
2316     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,   2316     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,
2317     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,   2317     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,
2318     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,   2318     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,
2319     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,   2319     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,
2320     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,   2320     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,
2321     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,   2321     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,
2322     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,   2322     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,
2323     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,   2323     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,
2324     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,   2324     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,
2325     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,   2325     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,
2326     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,   2326     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,
2327     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,   2327     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,
2328     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,   2328     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,
2329     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,   2329     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,
2330     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,   2330     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,
2331     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,   2331     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,
2332     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,   2332     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,
2333     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,   2333     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,
2334     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,   2334     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,
2335     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,   2335     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,
2336     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,   2336     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,
2337     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,   2337     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,
2338     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,   2338     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,
2339     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,   2339     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,
2340     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,   2340     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,
2341     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,   2341     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,
2342     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,   2342     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,
2343     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,   2343     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,
2344     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,   2344     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,
2345     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,   2345     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,
2346     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,   2346     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,
2347     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,   2347     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,
2348     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,   2348     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,
2349     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,   2349     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,
2350     _CS_V6_ENV = 1148,   2350     _CS_V6_ENV = 1148,
2351     _CS_V7_ENV = 1149   2351     _CS_V7_ENV = 1149
2352 } ;   2352 } ;
2353 typedef unsigned char uint8_t;   2353 typedef unsigned char uint8_t;
2354 typedef unsigned short uint16_t;   2354 typedef unsigned short uint16_t;
2355 typedef unsigned int uint32_t;   2355 typedef unsigned int uint32_t;
2356 typedef unsigned long long uint64_t;   2356 typedef unsigned long long uint64_t;
2357 typedef signed char int_least8_t;   2357 typedef signed char int_least8_t;
2358 typedef short int_least16_t;   2358 typedef short int_least16_t;
2359 typedef int int_least32_t;   2359 typedef int int_least32_t;
2360 typedef long long int_least64_t;   2360 typedef long long int_least64_t;
2361 typedef unsigned char uint_least8_t;   2361 typedef unsigned char uint_least8_t;
2362 typedef unsigned short uint_least16_t;   2362 typedef unsigned short uint_least16_t;
2363 typedef unsigned int uint_least32_t;   2363 typedef unsigned int uint_least32_t;
2364 typedef unsigned long long uint_least64_t;   2364 typedef unsigned long long uint_least64_t;
2365 typedef signed char int_fast8_t;   2365 typedef signed char int_fast8_t;
2366 typedef int int_fast16_t;   2366 typedef int int_fast16_t;
2367 typedef int int_fast32_t;   2367 typedef int int_fast32_t;
2368 typedef long long int_fast64_t;   2368 typedef long long int_fast64_t;
2369 typedef unsigned char uint_fast8_t;   2369 typedef unsigned char uint_fast8_t;
2370 typedef unsigned int uint_fast16_t;   2370 typedef unsigned int uint_fast16_t;
2371 typedef unsigned int uint_fast32_t;   2371 typedef unsigned int uint_fast32_t;
2372 typedef unsigned long long uint_fast64_t;   2372 typedef unsigned long long uint_fast64_t;
2373 typedef unsigned int uintptr_t;   2373 typedef unsigned int uintptr_t;
2374 typedef long long intmax_t;   2374 typedef long long intmax_t;
2375 typedef unsigned long long uintmax_t;   2375 typedef unsigned long long uintmax_t;
2376 struct iovec {   2376 struct iovec {
2377    void *iov_base ;   2377    void *iov_base ;
2378    size_t iov_len ;   2378    size_t iov_len ;
2379 };   2379 };
2380 enum __socket_type {   2380 enum __socket_type {
2381     SOCK_STREAM = 1,   2381     SOCK_STREAM = 1,
2382     SOCK_DGRAM = 2,   2382     SOCK_DGRAM = 2,
2383     SOCK_RAW = 3,   2383     SOCK_RAW = 3,
2384     SOCK_RDM = 4,   2384     SOCK_RDM = 4,
2385     SOCK_SEQPACKET = 5,   2385     SOCK_SEQPACKET = 5,
2386     SOCK_DCCP = 6,   2386     SOCK_DCCP = 6,
2387     SOCK_PACKET = 10,   2387     SOCK_PACKET = 10,
2388     SOCK_CLOEXEC = 524288,   2388     SOCK_CLOEXEC = 524288,
2389     SOCK_NONBLOCK = 2048   2389     SOCK_NONBLOCK = 2048
2390 } ;   2390 } ;
2391 typedef unsigned short sa_family_t;   2391 typedef unsigned short sa_family_t;
2392 struct sockaddr {   2392 struct sockaddr {
2393    sa_family_t sa_family ;   2393    sa_family_t sa_family ;
2394    char sa_data[14] ;   2394    char sa_data[14] ;
2395 };   2395 };
2396 struct sockaddr_storage {   2396 struct sockaddr_storage {
2397    sa_family_t ss_family ;   2397    sa_family_t ss_family ;
2398    unsigned long __ss_align ;   2398    unsigned long __ss_align ;
2399    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;   2399    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;
2400 };   2400 };
2401 enum __anonenum_107 {   2401 enum __anonenum_107 {
2402     MSG_OOB = 1,   2402     MSG_OOB = 1,
2403     MSG_PEEK = 2,   2403     MSG_PEEK = 2,
2404     MSG_DONTROUTE = 4,   2404     MSG_DONTROUTE = 4,
2405     MSG_CTRUNC = 8,   2405     MSG_CTRUNC = 8,
2406     MSG_PROXY = 16,   2406     MSG_PROXY = 16,
2407     MSG_TRUNC = 32,   2407     MSG_TRUNC = 32,
2408     MSG_DONTWAIT = 64,   2408     MSG_DONTWAIT = 64,
2409     MSG_EOR = 128,   2409     MSG_EOR = 128,
2410     MSG_WAITALL = 256,   2410     MSG_WAITALL = 256,
2411     MSG_FIN = 512,   2411     MSG_FIN = 512,
2412     MSG_SYN = 1024,   2412     MSG_SYN = 1024,
2413     MSG_CONFIRM = 2048,   2413     MSG_CONFIRM = 2048,
2414     MSG_RST = 4096,   2414     MSG_RST = 4096,
2415     MSG_ERRQUEUE = 8192,   2415     MSG_ERRQUEUE = 8192,
2416     MSG_NOSIGNAL = 16384,   2416     MSG_NOSIGNAL = 16384,
2417     MSG_MORE = 32768,   2417     MSG_MORE = 32768,
2418     MSG_WAITFORONE = 65536,   2418     MSG_WAITFORONE = 65536,
2419     MSG_CMSG_CLOEXEC = 1073741824   2419     MSG_CMSG_CLOEXEC = 1073741824
2420 } ;   2420 } ;
2421 struct msghdr {   2421 struct msghdr {
2422    void *msg_name ;   2422    void *msg_name ;
2423    socklen_t msg_namelen ;   2423    socklen_t msg_namelen ;
2424    struct iovec *msg_iov ;   2424    struct iovec *msg_iov ;
2425    size_t msg_iovlen ;   2425    size_t msg_iovlen ;
2426    void *msg_control ;   2426    void *msg_control ;
2427    size_t msg_controllen ;   2427    size_t msg_controllen ;
2428    int msg_flags ;   2428    int msg_flags ;
2429 };   2429 };
2430 struct cmsghdr {   2430 struct cmsghdr {
2431    size_t cmsg_len ;   2431    size_t cmsg_len ;
2432    int cmsg_level ;   2432    int cmsg_level ;
2433    int cmsg_type ;   2433    int cmsg_type ;
2434    unsigned char __cmsg_data[] ;   2434    unsigned char __cmsg_data[] ;
2435 };   2435 };
2436 enum __anonenum_108 {   2436 enum __anonenum_108 {
2437     SCM_RIGHTS = 1   2437     SCM_RIGHTS = 1
2438 } ;   2438 } ;
2439 struct linger {   2439 struct linger {
2440    int l_onoff ;   2440    int l_onoff ;
2441    int l_linger ;   2441    int l_linger ;
2442 };   2442 };
2443 struct mmsghdr;   2443 struct mmsghdr;
2444 struct osockaddr {   2444 struct osockaddr {
2445    unsigned short sa_family ;   2445    unsigned short sa_family ;
2446    unsigned char sa_data[14] ;   2446    unsigned char sa_data[14] ;
2447 };   2447 };
2448 enum __anonenum_109 {   2448 enum __anonenum_109 {
2449     SHUT_RD = 0,   2449     SHUT_RD = 0,
2450     SHUT_WR = 1,   2450     SHUT_WR = 1,
2451     SHUT_RDWR = 2   2451     SHUT_RDWR = 2
2452 } ;   2452 } ;
2453 enum __anonenum_110 {   2453 enum __anonenum_110 {
2454     IPPROTO_IP = 0,   2454     IPPROTO_IP = 0,
2455     IPPROTO_HOPOPTS = 0,   2455     IPPROTO_HOPOPTS = 0,
2456     IPPROTO_ICMP = 1,   2456     IPPROTO_ICMP = 1,
2457     IPPROTO_IGMP = 2,   2457     IPPROTO_IGMP = 2,
2458     IPPROTO_IPIP = 4,   2458     IPPROTO_IPIP = 4,
2459     IPPROTO_TCP = 6,   2459     IPPROTO_TCP = 6,
2460     IPPROTO_EGP = 8,   2460     IPPROTO_EGP = 8,
2461     IPPROTO_PUP = 12,   2461     IPPROTO_PUP = 12,
2462     IPPROTO_UDP = 17,   2462     IPPROTO_UDP = 17,
2463     IPPROTO_IDP = 22,   2463     IPPROTO_IDP = 22,
2464     IPPROTO_TP = 29,   2464     IPPROTO_TP = 29,
2465     IPPROTO_DCCP = 33,   2465     IPPROTO_DCCP = 33,
2466     IPPROTO_IPV6 = 41,   2466     IPPROTO_IPV6 = 41,
2467     IPPROTO_ROUTING = 43,   2467     IPPROTO_ROUTING = 43,
2468     IPPROTO_FRAGMENT = 44,   2468     IPPROTO_FRAGMENT = 44,
2469     IPPROTO_RSVP = 46,   2469     IPPROTO_RSVP = 46,
2470     IPPROTO_GRE = 47,   2470     IPPROTO_GRE = 47,
2471     IPPROTO_ESP = 50,   2471     IPPROTO_ESP = 50,
2472     IPPROTO_AH = 51,   2472     IPPROTO_AH = 51,
2473     IPPROTO_ICMPV6 = 58,   2473     IPPROTO_ICMPV6 = 58,
2474     IPPROTO_NONE = 59,   2474     IPPROTO_NONE = 59,
2475     IPPROTO_DSTOPTS = 60,   2475     IPPROTO_DSTOPTS = 60,
2476     IPPROTO_MTP = 92,   2476     IPPROTO_MTP = 92,
2477     IPPROTO_ENCAP = 98,   2477     IPPROTO_ENCAP = 98,
2478     IPPROTO_PIM = 103,   2478     IPPROTO_PIM = 103,
2479     IPPROTO_COMP = 108,   2479     IPPROTO_COMP = 108,
2480     IPPROTO_SCTP = 132,   2480     IPPROTO_SCTP = 132,
2481     IPPROTO_UDPLITE = 136,   2481     IPPROTO_UDPLITE = 136,
2482     IPPROTO_RAW = 255,   2482     IPPROTO_RAW = 255,
2483     IPPROTO_MAX = 256   2483     IPPROTO_MAX = 256
2484 } ;   2484 } ;
2485 typedef uint16_t in_port_t;   2485 typedef uint16_t in_port_t;
2486 enum __anonenum_111 {   2486 enum __anonenum_111 {
2487     IPPORT_ECHO = 7,   2487     IPPORT_ECHO = 7,
2488     IPPORT_DISCARD = 9,   2488     IPPORT_DISCARD = 9,
2489     IPPORT_SYSTAT = 11,   2489     IPPORT_SYSTAT = 11,
2490     IPPORT_DAYTIME = 13,   2490     IPPORT_DAYTIME = 13,
2491     IPPORT_NETSTAT = 15,   2491     IPPORT_NETSTAT = 15,
2492     IPPORT_FTP = 21,   2492     IPPORT_FTP = 21,
2493     IPPORT_TELNET = 23,   2493     IPPORT_TELNET = 23,
2494     IPPORT_SMTP = 25,   2494     IPPORT_SMTP = 25,
2495     IPPORT_TIMESERVER = 37,   2495     IPPORT_TIMESERVER = 37,
2496     IPPORT_NAMESERVER = 42,   2496     IPPORT_NAMESERVER = 42,
2497     IPPORT_WHOIS = 43,   2497     IPPORT_WHOIS = 43,
2498     IPPORT_MTP = 57,   2498     IPPORT_MTP = 57,
2499     IPPORT_TFTP = 69,   2499     IPPORT_TFTP = 69,
2500     IPPORT_RJE = 77,   2500     IPPORT_RJE = 77,
2501     IPPORT_FINGER = 79,   2501     IPPORT_FINGER = 79,
2502     IPPORT_TTYLINK = 87,   2502     IPPORT_TTYLINK = 87,
2503     IPPORT_SUPDUP = 95,   2503     IPPORT_SUPDUP = 95,
2504     IPPORT_EXECSERVER = 512,   2504     IPPORT_EXECSERVER = 512,
2505     IPPORT_LOGINSERVER = 513,   2505     IPPORT_LOGINSERVER = 513,
2506     IPPORT_CMDSERVER = 514,   2506     IPPORT_CMDSERVER = 514,
2507     IPPORT_EFSSERVER = 520,   2507     IPPORT_EFSSERVER = 520,
2508     IPPORT_BIFFUDP = 512,   2508     IPPORT_BIFFUDP = 512,
2509     IPPORT_WHOSERVER = 513,   2509     IPPORT_WHOSERVER = 513,
2510     IPPORT_ROUTESERVER = 520,   2510     IPPORT_ROUTESERVER = 520,
2511     IPPORT_RESERVED = 1024,   2511     IPPORT_RESERVED = 1024,
2512     IPPORT_USERRESERVED = 5000   2512     IPPORT_USERRESERVED = 5000
2513 } ;   2513 } ;
2514 typedef uint32_t in_addr_t;   2514 typedef uint32_t in_addr_t;
2515 struct in_addr {   2515 struct in_addr {
2516    in_addr_t s_addr ;   2516    in_addr_t s_addr ;
2517 };   2517 };
2518 union __anonunion___in6_u_112 {   2518 union __anonunion___in6_u_112 {
2519    uint8_t __u6_addr8[16] ;   2519    uint8_t __u6_addr8[16] ;
2520    uint16_t __u6_addr16[8] ;   2520    uint16_t __u6_addr16[8] ;
2521    uint32_t __u6_addr32[4] ;   2521    uint32_t __u6_addr32[4] ;
2522 };   2522 };
2523 struct in6_addr {   2523 struct in6_addr {
2524    union __anonunion___in6_u_112 __in6_u ;   2524    union __anonunion___in6_u_112 __in6_u ;
2525 };   2525 };
2526 struct sockaddr_in {   2526 struct sockaddr_in {
2527    sa_family_t sin_family ;   2527    sa_family_t sin_family ;
2528    in_port_t sin_port ;   2528    in_port_t sin_port ;
2529    struct in_addr sin_addr ;   2529    struct in_addr sin_addr ;
2530    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;   2530    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;
2531 };   2531 };
2532 struct sockaddr_in6 {   2532 struct sockaddr_in6 {
2533    sa_family_t sin6_family ;   2533    sa_family_t sin6_family ;
2534    in_port_t sin6_port ;   2534    in_port_t sin6_port ;
2535    uint32_t sin6_flowinfo ;   2535    uint32_t sin6_flowinfo ;
2536    struct in6_addr sin6_addr ;   2536    struct in6_addr sin6_addr ;
2537    uint32_t sin6_scope_id ;   2537    uint32_t sin6_scope_id ;
2538 };   2538 };
2539 struct ip_mreq {   2539 struct ip_mreq {
2540    struct in_addr imr_multiaddr ;   2540    struct in_addr imr_multiaddr ;
2541    struct in_addr imr_interface ;   2541    struct in_addr imr_interface ;
2542 };   2542 };
2543 struct ip_mreq_source {   2543 struct ip_mreq_source {
2544    struct in_addr imr_multiaddr ;   2544    struct in_addr imr_multiaddr ;
2545    struct in_addr imr_interface ;   2545    struct in_addr imr_interface ;
2546    struct in_addr imr_sourceaddr ;   2546    struct in_addr imr_sourceaddr ;
2547 };   2547 };
2548 struct ipv6_mreq {   2548 struct ipv6_mreq {
2549    struct in6_addr ipv6mr_multiaddr ;   2549    struct in6_addr ipv6mr_multiaddr ;
2550    unsigned int ipv6mr_interface ;   2550    unsigned int ipv6mr_interface ;
2551 };   2551 };
2552 struct group_req {   2552 struct group_req {
2553    uint32_t gr_interface ;   2553    uint32_t gr_interface ;
2554    struct sockaddr_storage gr_group ;   2554    struct sockaddr_storage gr_group ;
2555 };   2555 };
2556 struct group_source_req {   2556 struct group_source_req {
2557    uint32_t gsr_interface ;   2557    uint32_t gsr_interface ;
2558    struct sockaddr_storage gsr_group ;   2558    struct sockaddr_storage gsr_group ;
2559    struct sockaddr_storage gsr_source ;   2559    struct sockaddr_storage gsr_source ;
2560 };   2560 };
2561 struct ip_msfilter {   2561 struct ip_msfilter {
2562    struct in_addr imsf_multiaddr ;   2562    struct in_addr imsf_multiaddr ;
2563    struct in_addr imsf_interface ;   2563    struct in_addr imsf_interface ;
2564    uint32_t imsf_fmode ;   2564    uint32_t imsf_fmode ;
2565    uint32_t imsf_numsrc ;   2565    uint32_t imsf_numsrc ;
2566    struct in_addr imsf_slist[1] ;   2566    struct in_addr imsf_slist[1] ;
2567 };   2567 };
2568 struct group_filter {   2568 struct group_filter {
2569    uint32_t gf_interface ;   2569    uint32_t gf_interface ;
2570    struct sockaddr_storage gf_group ;   2570    struct sockaddr_storage gf_group ;
2571    uint32_t gf_fmode ;   2571    uint32_t gf_fmode ;
2572    uint32_t gf_numsrc ;   2572    uint32_t gf_numsrc ;
2573    struct sockaddr_storage gf_slist[1] ;   2573    struct sockaddr_storage gf_slist[1] ;
2574 };   2574 };
2575 struct ip_opts {   2575 struct ip_opts {
2576    struct in_addr ip_dst ;   2576    struct in_addr ip_dst ;
2577    char ip_opts[40] ;   2577    char ip_opts[40] ;
2578 };   2578 };
2579 struct ip_mreqn {   2579 struct ip_mreqn {
2580    struct in_addr imr_multiaddr ;   2580    struct in_addr imr_multiaddr ;
2581    struct in_addr imr_address ;   2581    struct in_addr imr_address ;
2582    int imr_ifindex ;   2582    int imr_ifindex ;
2583 };   2583 };
2584 struct in_pktinfo {   2584 struct in_pktinfo {
2585    int ipi_ifindex ;   2585    int ipi_ifindex ;
2586    struct in_addr ipi_spec_dst ;   2586    struct in_addr ipi_spec_dst ;
2587    struct in_addr ipi_addr ;   2587    struct in_addr ipi_addr ;
2588 };   2588 };
2589 struct option {   2589 struct option {
2590    char const   *name ;   2590    char const   *name ;
2591    int has_arg ;   2591    int has_arg ;
2592    int *flag ;   2592    int *flag ;
2593    int val ;   2593    int val ;
2594 };   2594 };
2595 struct rpcent {   2595 struct rpcent {
2596    char *r_name ;   2596    char *r_name ;
2597    char **r_aliases ;   2597    char **r_aliases ;
2598    int r_number ;   2598    int r_number ;
2599 };   2599 };
2600 struct netent {   2600 struct netent {
2601    char *n_name ;   2601    char *n_name ;
2602    char **n_aliases ;   2602    char **n_aliases ;
2603    int n_addrtype ;   2603    int n_addrtype ;
2604    uint32_t n_net ;   2604    uint32_t n_net ;
2605 };   2605 };
2606 struct hostent {   2606 struct hostent {
2607    char *h_name ;   2607    char *h_name ;
2608    char **h_aliases ;   2608    char **h_aliases ;
2609    int h_addrtype ;   2609    int h_addrtype ;
2610    int h_length ;   2610    int h_length ;
2611    char **h_addr_list ;   2611    char **h_addr_list ;
2612 };   2612 };
2613 struct servent {   2613 struct servent {
2614    char *s_name ;   2614    char *s_name ;
2615    char **s_aliases ;   2615    char **s_aliases ;
2616    int s_port ;   2616    int s_port ;
2617    char *s_proto ;   2617    char *s_proto ;
2618 };   2618 };
2619 struct protoent {   2619 struct protoent {
2620    char *p_name ;   2620    char *p_name ;
2621    char **p_aliases ;   2621    char **p_aliases ;
2622    int p_proto ;   2622    int p_proto ;
2623 };   2623 };
2624 struct addrinfo {   2624 struct addrinfo {
2625    int ai_flags ;   2625    int ai_flags ;
2626    int ai_family ;   2626    int ai_family ;
2627    int ai_socktype ;   2627    int ai_socktype ;
2628    int ai_protocol ;   2628    int ai_protocol ;
2629    socklen_t ai_addrlen ;   2629    socklen_t ai_addrlen ;
2630    struct sockaddr *ai_addr ;   2630    struct sockaddr *ai_addr ;
2631    char *ai_canonname ;   2631    char *ai_canonname ;
2632    struct addrinfo *ai_next ;   2632    struct addrinfo *ai_next ;
2633 };   2633 };
2634 struct __anonstruct_col_expr_t_113 {   2634 struct __anonstruct_col_expr_t_113 {
2635    gchar const   **col_expr ;   2635    gchar const   **col_expr ;
2636    gchar **col_expr_val ;   2636    gchar **col_expr_val ;
2637 };   2637 };
2638 typedef struct __anonstruct_col_expr_t_113 col_expr_t;   2638 typedef struct __anonstruct_col_expr_t_113 col_expr_t;
2639 struct _dfilter_t;   2639 struct _dfilter_t;
2640 struct _column_info {   2640 struct _column_info {
2641    gint num_cols ;   2641    gint num_cols ;
2642    gint *col_fmt ;   2642    gint *col_fmt ;
2643    gboolean **fmt_matx ;   2643    gboolean **fmt_matx ;
2644    gint *col_first ;   2644    gint *col_first ;
2645    gint *col_last ;   2645    gint *col_last ;
2646    gchar **col_title ;   2646    gchar **col_title ;
2647    gchar **col_custom_field ;   2647    gchar **col_custom_field ;
2648    gint *col_custom_occurrence ;   2648    gint *col_custom_occurrence ;
2649    gint *col_custom_field_id ;   2649    gint *col_custom_field_id ;
2650    struct _dfilter_t **col_custom_dfilter ;   2650    struct _dfilter_t **col_custom_dfilter ;
2651    gchar const   **col_data ;   2651    gchar const   **col_data ;
2652    gchar **col_buf ;   2652    gchar **col_buf ;
2653    int *col_fence ;   2653    int *col_fence ;
2654    col_expr_t col_expr ;   2654    col_expr_t col_expr ;
2655    gboolean writable ;   2655    gboolean writable ;
2656    gboolean columns_changed ;   2656    gboolean columns_changed ;
2657 };   2657 };
2658 typedef struct _column_info column_info;   2658 typedef struct _column_info column_info;
2659 enum __anonenum_114 {   2659 enum __anonenum_114 {
2660     COL_8021Q_VLAN_ID = 0,   2660     COL_8021Q_VLAN_ID = 0,
2661     COL_ABS_DATE_TIME = 1,   2661     COL_ABS_DATE_TIME = 1,
2662     COL_ABS_TIME = 2,   2662     COL_ABS_TIME = 2,
2663     COL_CIRCUIT_ID = 3,   2663     COL_CIRCUIT_ID = 3,
2664     COL_DSTIDX = 4,   2664     COL_DSTIDX = 4,
2665     COL_SRCIDX = 5,   2665     COL_SRCIDX = 5,
2666     COL_VSAN = 6,   2666     COL_VSAN = 6,
2667     COL_CUMULATIVE_BYTES = 7,   2667     COL_CUMULATIVE_BYTES = 7,
2668     COL_CUSTOM = 8,   2668     COL_CUSTOM = 8,
2669     COL_DCE_CALL = 9,   2669     COL_DCE_CALL = 9,
2670     COL_DCE_CTX = 10,   2670     COL_DCE_CTX = 10,
2671     COL_DELTA_TIME = 11,   2671     COL_DELTA_TIME = 11,
2672     COL_DELTA_CONV_TIME = 12,   2672     COL_DELTA_CONV_TIME = 12,
2673     COL_DELTA_TIME_DIS = 13,   2673     COL_DELTA_TIME_DIS = 13,
2674     COL_RES_DST = 14,   2674     COL_RES_DST = 14,
2675     COL_UNRES_DST = 15,   2675     COL_UNRES_DST = 15,
2676     COL_RES_DST_PORT = 16,   2676     COL_RES_DST_PORT = 16,
2677     COL_UNRES_DST_PORT = 17,   2677     COL_UNRES_DST_PORT = 17,
2678     COL_DEF_DST = 18,   2678     COL_DEF_DST = 18,
2679     COL_DEF_DST_PORT = 19,   2679     COL_DEF_DST_PORT = 19,
2680     COL_EXPERT = 20,   2680     COL_EXPERT = 20,
2681     COL_IF_DIR = 21,   2681     COL_IF_DIR = 21,
2682     COL_OXID = 22,   2682     COL_OXID = 22,
2683     COL_RXID = 23,   2683     COL_RXID = 23,
2684     COL_FR_DLCI = 24,   2684     COL_FR_DLCI = 24,
2685     COL_FREQ_CHAN = 25,   2685     COL_FREQ_CHAN = 25,
2686     COL_BSSGP_TLLI = 26,   2686     COL_BSSGP_TLLI = 26,
2687     COL_HPUX_DEVID = 27,   2687     COL_HPUX_DEVID = 27,
2688     COL_HPUX_SUBSYS = 28,   2688     COL_HPUX_SUBSYS = 28,
2689     COL_DEF_DL_DST = 29,   2689     COL_DEF_DL_DST = 29,
2690     COL_DEF_DL_SRC = 30,   2690     COL_DEF_DL_SRC = 30,
2691     COL_RES_DL_DST = 31,   2691     COL_RES_DL_DST = 31,
2692     COL_UNRES_DL_DST = 32,   2692     COL_UNRES_DL_DST = 32,
2693     COL_RES_DL_SRC = 33,   2693     COL_RES_DL_SRC = 33,
2694     COL_UNRES_DL_SRC = 34,   2694     COL_UNRES_DL_SRC = 34,
2695     COL_RSSI = 35,   2695     COL_RSSI = 35,
2696     COL_TX_RATE = 36,   2696     COL_TX_RATE = 36,
2697     COL_DSCP_VALUE = 37,   2697     COL_DSCP_VALUE = 37,
2698     COL_INFO = 38,   2698     COL_INFO = 38,
2699     COL_COS_VALUE = 39,   2699     COL_COS_VALUE = 39,
2700     COL_RES_NET_DST = 40,   2700     COL_RES_NET_DST = 40,
2701     COL_UNRES_NET_DST = 41,   2701     COL_UNRES_NET_DST = 41,
2702     COL_RES_NET_SRC = 42,   2702     COL_RES_NET_SRC = 42,
2703     COL_UNRES_NET_SRC = 43,   2703     COL_UNRES_NET_SRC = 43,
2704     COL_DEF_NET_DST = 44,   2704     COL_DEF_NET_DST = 44,
2705     COL_DEF_NET_SRC = 45,   2705     COL_DEF_NET_SRC = 45,
2706     COL_NUMBER = 46,   2706     COL_NUMBER = 46,
2707     COL_PACKET_LENGTH = 47,   2707     COL_PACKET_LENGTH = 47,
2708     COL_PROTOCOL = 48,   2708     COL_PROTOCOL = 48,
2709     COL_REL_TIME = 49,   2709     COL_REL_TIME = 49,
2710     COL_REL_CONV_TIME = 50,   2710     COL_REL_CONV_TIME = 50,
2711     COL_DEF_SRC = 51,   2711     COL_DEF_SRC = 51,
2712     COL_DEF_SRC_PORT = 52,   2712     COL_DEF_SRC_PORT = 52,
2713     COL_RES_SRC = 53,   2713     COL_RES_SRC = 53,
2714     COL_UNRES_SRC = 54,   2714     COL_UNRES_SRC = 54,
2715     COL_RES_SRC_PORT = 55,   2715     COL_RES_SRC_PORT = 55,
2716     COL_UNRES_SRC_PORT = 56,   2716     COL_UNRES_SRC_PORT = 56,
2717     COL_TEI = 57,   2717     COL_TEI = 57,
2718     COL_CLS_TIME = 58,   2718     COL_CLS_TIME = 58,
2719     NUM_COL_FMTS = 59   2719     NUM_COL_FMTS = 59
2720 } ;   2720 } ;
2721 struct e_in6_addr {   2721 struct e_in6_addr {
2722    guint8 bytes[16] ;   2722    guint8 bytes[16] ;
2723 };   2723 };
2724 struct _e_guid_t {   2724 struct _e_guid_t {
2725    guint32 data1 ;   2725    guint32 data1 ;
2726    guint16 data2 ;   2726    guint16 data2 ;
2727    guint16 data3 ;   2727    guint16 data3 ;
2728    guint8 data4[8] ;   2728    guint8 data4[8] ;
2729 };   2729 };
2730 typedef struct _e_guid_t e_guid_t;   2730 typedef struct _e_guid_t e_guid_t;
2731 typedef int __jmp_buf[6];   2731 typedef int __jmp_buf[6];
2732 struct __jmp_buf_tag {   2732 struct __jmp_buf_tag {
2733    __jmp_buf __jmpbuf ;   2733    __jmp_buf __jmpbuf ;
2734    int __mask_was_saved ;   2734    int __mask_was_saved ;
2735    __sigset_t __saved_mask ;   2735    __sigset_t __saved_mask ;
2736 };   2736 };
2737 typedef struct __jmp_buf_tag jmp_buf[1];   2737 typedef struct __jmp_buf_tag jmp_buf[1];
2738 typedef struct __jmp_buf_tag sigjmp_buf[1];   2738 typedef struct __jmp_buf_tag sigjmp_buf[1];
2739 enum __anonenum_115 {   2739 enum __anonenum_115 {
2740     except_no_call = 0,   2740     except_no_call = 0,
2741     except_call = 1   2741     except_call = 1
2742 } ;   2742 } ;
2743 struct __anonstruct_except_id_t_116 {   2743 struct __anonstruct_except_id_t_116 {
2744    unsigned long except_group ;   2744    unsigned long except_group ;
2745    unsigned long except_code ;   2745    unsigned long except_code ;
2746 };   2746 };
2747 typedef struct __anonstruct_except_id_t_116 except_id_t;   2747 typedef struct __anonstruct_except_id_t_116 except_id_t;
2748 struct __anonstruct_except_t_117 {   2748 struct __anonstruct_except_t_117 {
2749    except_id_t volatile   except_id ;   2749    except_id_t volatile   except_id ;
2750    char const   * volatile  except_message ;   2750    char const   * volatile  except_message ;
2751    void * volatile  except_dyndata ;   2751    void * volatile  except_dyndata ;
2752 };   2752 };
2753 typedef struct __anonstruct_except_t_117 except_t;   2753 typedef struct __anonstruct_except_t_117 except_t;
2754 struct except_cleanup {   2754 struct except_cleanup {
2755    void (*except_func)(void * ) ;   2755    void (*except_func)(void * ) ;
2756    void *except_context ;   2756    void *except_context ;
2757 };   2757 };
2758 struct except_catch {   2758 struct except_catch {
2759    except_id_t const   *except_id ;   2759    except_id_t const   *except_id ;
2760    size_t except_size ;   2760    size_t except_size ;
2761    except_t except_obj ;   2761    except_t except_obj ;
2762    jmp_buf except_jmp ;   2762    jmp_buf except_jmp ;
2763 };   2763 };
2764 enum except_stacktype {   2764 enum except_stacktype {
2765     XCEPT_CLEANUP = 0,   2765     XCEPT_CLEANUP = 0,
2766     XCEPT_CATCHER = 1   2766     XCEPT_CATCHER = 1
2767 } ;   2767 } ;
2768 union __anonunion_except_info_118 {   2768 union __anonunion_except_info_118 {
2769    struct except_catch *except_catcher ;   2769    struct except_catch *except_catcher ;
2770    struct except_cleanup *except_cleanup ;   2770    struct except_cleanup *except_cleanup ;
2771 };   2771 };
2772 struct except_stacknode {   2772 struct except_stacknode {
2773    struct except_stacknode *except_down ;   2773    struct except_stacknode *except_down ;
2774    enum except_stacktype except_type ;   2774    enum except_stacktype except_type ;
2775    union __anonunion_except_info_118 except_info ;   2775    union __anonunion_except_info_118 except_info ;
2776 };   2776 };
2777 enum __anonenum_tvbuff_type_119 {   2777 enum __anonenum_tvbuff_type_119 {
2778     TVBUFF_REAL_DATA = 0,   2778     TVBUFF_REAL_DATA = 0,
2779     TVBUFF_SUBSET = 1,   2779     TVBUFF_SUBSET = 1,
2780     TVBUFF_COMPOSITE = 2   2780     TVBUFF_COMPOSITE = 2
2781 } ;   2781 } ;
2782 typedef enum __anonenum_tvbuff_type_119 tvbuff_type;   2782 typedef enum __anonenum_tvbuff_type_119 tvbuff_type;
2783 struct tvbuff;   2783 struct tvbuff;
2784 struct __anonstruct_tvb_backing_t_120 {   2784 struct __anonstruct_tvb_backing_t_120 {
2785    struct tvbuff *tvb ;   2785    struct tvbuff *tvb ;
2786    guint offset ;   2786    guint offset ;
2787    guint length ;   2787    guint length ;
2788 };   2788 };
2789 typedef struct __anonstruct_tvb_backing_t_120 tvb_backing_t;   2789 typedef struct __anonstruct_tvb_backing_t_120 tvb_backing_t;
2790 struct __anonstruct_tvb_comp_t_121 {   2790 struct __anonstruct_tvb_comp_t_121 {
2791    GSList *tvbs ;   2791    GSList *tvbs ;
2792    guint *start_offsets ;   2792    guint *start_offsets ;
2793    guint *end_offsets ;   2793    guint *end_offsets ;
2794 };   2794 };
2795 typedef struct __anonstruct_tvb_comp_t_121 tvb_comp_t;   2795 typedef struct __anonstruct_tvb_comp_t_121 tvb_comp_t;
2796 typedef void (*tvbuff_free_cb_t)(void * );   2796 typedef void (*tvbuff_free_cb_t)(void * );
2797 union __anonunion_tvbuffs_122 {   2797 union __anonunion_tvbuffs_122 {
2798    tvb_backing_t subset ;   2798    tvb_backing_t subset ;
2799    tvb_comp_t composite ;   2799    tvb_comp_t composite ;
2800 };   2800 };
2801 struct tvbuff {   2801 struct tvbuff {
2802    tvbuff_type type ;   2802    tvbuff_type type ;
2803    gboolean initialized ;   2803    gboolean initialized ;
2804    guint usage_count ;   2804    guint usage_count ;
2805    struct tvbuff *ds_tvb ;   2805    struct tvbuff *ds_tvb ;
2806    GSList *used_in ;   2806    GSList *used_in ;
2807    union __anonunion_tvbuffs_122 tvbuffs ;   2807    union __anonunion_tvbuffs_122 tvbuffs ;
2808    guint8 const   *real_data ;   2808    guint8 const   *real_data ;
2809    guint length ;   2809    guint length ;
2810    guint reported_length ;   2810    guint reported_length ;
2811    gint raw_offset ;   2811    gint raw_offset ;
2812    void (*free_cb)(void * ) ;   2812    void (*free_cb)(void * ) ;
2813 };   2813 };
2814 typedef struct tvbuff tvbuff_t;   2814 typedef struct tvbuff tvbuff_t;
2815 struct dgt_set_t {   2815 struct dgt_set_t {
2816    unsigned char const   out[15] ;   2816    unsigned char const   out[15] ;
2817 };   2817 };
2818 typedef struct dgt_set_t dgt_set_t;   2818 typedef struct dgt_set_t dgt_set_t;
2819 struct timezone {   2819 struct timezone {
2820    int tz_minuteswest ;   2820    int tz_minuteswest ;
2821    int tz_dsttime ;   2821    int tz_dsttime ;
2822 };   2822 };
2823 typedef struct timezone * __restrict  __timezone_ptr_t;   2823 typedef struct timezone * __restrict  __timezone_ptr_t;
2824 enum __itimer_which {   2824 enum __itimer_which {
2825     ITIMER_REAL = 0,   2825     ITIMER_REAL = 0,
2826     ITIMER_VIRTUAL = 1,   2826     ITIMER_VIRTUAL = 1,
2827     ITIMER_PROF = 2   2827     ITIMER_PROF = 2
2828 } ;   2828 } ;
2829 struct itimerval {   2829 struct itimerval {
2830    struct timeval it_interval ;   2830    struct timeval it_interval ;
2831    struct timeval it_value ;   2831    struct timeval it_value ;
2832 };   2832 };
2833 typedef int __itimer_which_t;   2833 typedef int __itimer_which_t;
2834 struct nstr_phdr {   2834 struct nstr_phdr {
2835    gint64 rec_offset ;   2835    gint64 rec_offset ;
2836    gint32 rec_len ;   2836    gint32 rec_len ;
2837    guint8 nicno_offset ;   2837    guint8 nicno_offset ;
2838    guint8 nicno_len ;   2838    guint8 nicno_len ;
2839    guint8 dir_offset ;   2839    guint8 dir_offset ;
2840    guint8 dir_len ;   2840    guint8 dir_len ;
2841    guint8 eth_offset ;   2841    guint8 eth_offset ;
2842    guint8 pcb_offset ;   2842    guint8 pcb_offset ;
2843    guint8 l_pcb_offset ;   2843    guint8 l_pcb_offset ;
2844    guint8 rec_type ;   2844    guint8 rec_type ;
2845    guint8 vlantag_offset ;   2845    guint8 vlantag_offset ;
2846    guint8 coreid_offset ;   2846    guint8 coreid_offset ;
2847 };   2847 };
2848 struct eth_phdr {   2848 struct eth_phdr {
2849    gint fcs_len ;   2849    gint fcs_len ;
2850 };   2850 };
2851 struct x25_phdr {   2851 struct x25_phdr {
2852    guint8 flags ;   2852    guint8 flags ;
2853 };   2853 };
2854 struct isdn_phdr {   2854 struct isdn_phdr {
2855    gboolean uton ;   2855    gboolean uton ;
2856    guint8 channel ;   2856    guint8 channel ;
2857 };   2857 };
2858 struct atm_phdr {   2858 struct atm_phdr {
2859    guint32 flags ;   2859    guint32 flags ;
2860    guint8 aal ;   2860    guint8 aal ;
2861    guint8 type ;   2861    guint8 type ;
2862    guint8 subtype ;   2862    guint8 subtype ;
2863    guint16 vpi ;   2863    guint16 vpi ;
2864    guint16 vci ;   2864    guint16 vci ;
2865    guint8 aal2_cid ;   2865    guint8 aal2_cid ;
2866    guint16 channel ;   2866    guint16 channel ;
2867    guint16 cells ;   2867    guint16 cells ;
2868    guint16 aal5t_u2u ;   2868    guint16 aal5t_u2u ;
2869    guint16 aal5t_len ;   2869    guint16 aal5t_len ;
2870    guint32 aal5t_chksum ;   2870    guint32 aal5t_chksum ;
2871 };   2871 };
2872 struct ascend_phdr {   2872 struct ascend_phdr {
2873    guint16 type ;   2873    guint16 type ;
2874    char user[64] ;   2874    char user[64] ;
2875    guint32 sess ;   2875    guint32 sess ;
2876    char call_num[64] ;   2876    char call_num[64] ;
2877    guint32 chunk ;   2877    guint32 chunk ;
2878    guint32 task ;   2878    guint32 task ;
2879 };   2879 };
2880 struct p2p_phdr {   2880 struct p2p_phdr {
2881    int sent ;   2881    int sent ;
2882 };   2882 };
2883 struct ieee_802_11_phdr {   2883 struct ieee_802_11_phdr {
2884    gint fcs_len ;   2884    gint fcs_len ;
2885    guint8 channel ;   2885    guint8 channel ;
2886    guint8 data_rate ;   2886    guint8 data_rate ;
2887    guint8 signal_level ;   2887    guint8 signal_level ;
2888 };   2888 };
2889 struct cosine_phdr {   2889 struct cosine_phdr {
2890    guint8 encap ;   2890    guint8 encap ;
2891    guint8 direction ;   2891    guint8 direction ;
2892    char if_name[128] ;   2892    char if_name[128] ;
2893    guint16 pro ;   2893    guint16 pro ;
2894    guint16 off ;   2894    guint16 off ;
2895    guint16 pri ;   2895    guint16 pri ;
2896    guint16 rm ;   2896    guint16 rm ;
2897    guint16 err ;   2897    guint16 err ;
2898 };   2898 };
2899 struct irda_phdr {   2899 struct irda_phdr {
2900    guint16 pkttype ;   2900    guint16 pkttype ;
2901 };   2901 };
2902 struct nettl_phdr {   2902 struct nettl_phdr {
2903    guint16 subsys ;   2903    guint16 subsys ;
2904    guint32 devid ;   2904    guint32 devid ;
2905    guint32 kind ;   2905    guint32 kind ;
2906    gint32 pid ;   2906    gint32 pid ;
2907    guint16 uid ;   2907    guint16 uid ;
2908 };   2908 };
2909 struct mtp2_phdr {   2909 struct mtp2_phdr {
2910    guint8 sent ;   2910    guint8 sent ;
2911    guint8 annex_a_used ;   2911    guint8 annex_a_used ;
2912    guint16 link_number ;   2912    guint16 link_number ;
2913 };   2913 };
2914 struct __anonstruct_atm_124 {   2914 struct __anonstruct_atm_124 {
2915    guint16 vp ;   2915    guint16 vp ;
2916    guint16 vc ;   2916    guint16 vc ;
2917    guint16 cid ;   2917    guint16 cid ;
2918 };   2918 };
2919 union __anonunion_k12_input_info_t_123 {   2919 union __anonunion_k12_input_info_t_123 {
2920    struct __anonstruct_atm_124 atm ;   2920    struct __anonstruct_atm_124 atm ;
2921    guint32 ds0mask ;   2921    guint32 ds0mask ;
2922 };   2922 };
2923 typedef union __anonunion_k12_input_info_t_123 k12_input_info_t;   2923 typedef union __anonunion_k12_input_info_t_123 k12_input_info_t;
2924 struct k12_phdr {   2924 struct k12_phdr {
2925    guint32 input ;   2925    guint32 input ;
2926    gchar const   *input_name ;   2926    gchar const   *input_name ;
2927    gchar const   *stack_file ;   2927    gchar const   *stack_file ;
2928    guint32 input_type ;   2928    guint32 input_type ;
2929    k12_input_info_t input_info ;   2929    k12_input_info_t input_info ;
2930    guchar *extra_info ;   2930    guchar *extra_info ;
2931    guint32 extra_length ;   2931    guint32 extra_length ;
2932    void *stuff ;   2932    void *stuff ;
2933 };   2933 };
2934 struct lapd_phdr {   2934 struct lapd_phdr {
2935    guint16 pkttype ;   2935    guint16 pkttype ;
2936    guint8 we_network ;   2936    guint8 we_network ;
2937 };   2937 };
2938 struct wtap;   2938 struct wtap;
2939 struct wtap;   2939 struct wtap;
2940 union __anonunion_inner_pseudo_header_125 {   2940 union __anonunion_inner_pseudo_header_125 {
2941    struct isdn_phdr isdn ;   2941    struct isdn_phdr isdn ;
2942    struct atm_phdr atm ;   2942    struct atm_phdr atm ;
2943    struct p2p_phdr p2p ;   2943    struct p2p_phdr p2p ;
2944 };   2944 };
2945 struct catapult_dct2000_phdr {   2945 struct catapult_dct2000_phdr {
2946    union __anonunion_inner_pseudo_header_125 inner_pseudo_header ;   2946    union __anonunion_inner_pseudo_header_125 inner_pseudo_header ;
2947    gint64 seek_off ;   2947    gint64 seek_off ;
2948    struct wtap *wth ;   2948    struct wtap *wth ;
2949 };   2949 };
2950 struct libpcap_bt_phdr {   2950 struct libpcap_bt_phdr {
2951    guint32 direction ;   2951    guint32 direction ;
2952 };   2952 };
2953 struct libpcap_ppp_phdr {   2953 struct libpcap_ppp_phdr {
2954    guint8 direction ;   2954    guint8 direction ;
2955 };   2955 };
2956 struct erf_phdr {   2956 struct erf_phdr {
2957    guint64 ts ;   2957    guint64 ts ;
2958    guint8 type ;   2958    guint8 type ;
2959    guint8 flags ;   2959    guint8 flags ;
2960    guint16 rlen ;   2960    guint16 rlen ;
2961    guint16 lctr ;   2961    guint16 lctr ;
2962    guint16 wlen ;   2962    guint16 wlen ;
2963 };   2963 };
2964 struct erf_ehdr {   2964 struct erf_ehdr {
2965    guint64 ehdr ;   2965    guint64 ehdr ;
2966 };   2966 };
2967 union __anonunion_subhdr_126 {   2967 union __anonunion_subhdr_126 {
2968    guint16 eth_hdr ;   2968    guint16 eth_hdr ;
2969    guint32 mc_hdr ;   2969    guint32 mc_hdr ;
2970 };   2970 };
2971 struct erf_mc_phdr {   2971 struct erf_mc_phdr {
2972    struct erf_phdr phdr ;   2972    struct erf_phdr phdr ;
2973    struct erf_ehdr ehdr_list[8] ;   2973    struct erf_ehdr ehdr_list[8] ;
2974    union __anonunion_subhdr_126 subhdr ;   2974    union __anonunion_subhdr_126 subhdr ;
2975 };   2975 };
2976 struct sita_phdr {   2976 struct sita_phdr {
2977    guint8 flags ;   2977    guint8 flags ;
2978    guint8 signals ;   2978    guint8 signals ;
2979    guint8 errors1 ;   2979    guint8 errors1 ;
2980    guint8 errors2 ;   2980    guint8 errors2 ;
2981    guint8 proto ;   2981    guint8 proto ;
2982 };   2982 };
2983 struct bthci_phdr {   2983 struct bthci_phdr {
2984    gboolean sent ;   2984    gboolean sent ;
2985    guint8 channel ;   2985    guint8 channel ;
2986 };   2986 };
2987 struct l1event_phdr {   2987 struct l1event_phdr {
2988    gboolean uton ;   2988    gboolean uton ;
2989 };   2989 };
2990 struct i2c_phdr {   2990 struct i2c_phdr {
2991    guint8 is_event ;   2991    guint8 is_event ;
2992    guint8 bus ;   2992    guint8 bus ;
2993    guint32 flags ;   2993    guint32 flags ;
2994 };   2994 };
2995 struct gsm_um_phdr {   2995 struct gsm_um_phdr {
2996    gboolean uplink ;   2996    gboolean uplink ;
2997    guint8 channel ;   2997    guint8 channel ;
2998    guint8 bsic ;   2998    guint8 bsic ;
2999    guint16 arfcn ;   2999    guint16 arfcn ;
3000    guint32 tdma_frame ;   3000    guint32 tdma_frame ;
3001    guint8 error ;   3001    guint8 error ;
3002    guint16 timeshift ;   3002    guint16 timeshift ;
3003 };   3003 };
3004 union wtap_pseudo_header {   3004 union wtap_pseudo_header {
3005    struct eth_phdr eth ;   3005    struct eth_phdr eth ;
3006    struct x25_phdr x25 ;   3006    struct x25_phdr x25 ;
3007    struct isdn_phdr isdn ;   3007    struct isdn_phdr isdn ;
3008    struct atm_phdr atm ;   3008    struct atm_phdr atm ;
3009    struct ascend_phdr ascend ;   3009    struct ascend_phdr ascend ;
3010    struct p2p_phdr p2p ;   3010    struct p2p_phdr p2p ;
3011    struct ieee_802_11_phdr ieee_802_11 ;   3011    struct ieee_802_11_phdr ieee_802_11 ;
3012    struct cosine_phdr cosine ;   3012    struct cosine_phdr cosine ;
3013    struct irda_phdr irda ;   3013    struct irda_phdr irda ;
3014    struct nettl_phdr nettl ;   3014    struct nettl_phdr nettl ;
3015    struct mtp2_phdr mtp2 ;   3015    struct mtp2_phdr mtp2 ;
3016    struct k12_phdr k12 ;   3016    struct k12_phdr k12 ;
3017    struct lapd_phdr lapd ;   3017    struct lapd_phdr lapd ;
3018    struct catapult_dct2000_phdr dct2000 ;   3018    struct catapult_dct2000_phdr dct2000 ;
3019    struct erf_mc_phdr erf ;   3019    struct erf_mc_phdr erf ;
3020    struct sita_phdr sita ;   3020    struct sita_phdr sita ;
3021    struct bthci_phdr bthci ;   3021    struct bthci_phdr bthci ;
3022    struct l1event_phdr l1event ;   3022    struct l1event_phdr l1event ;
3023    struct i2c_phdr i2c ;   3023    struct i2c_phdr i2c ;
3024    struct gsm_um_phdr gsm_um ;   3024    struct gsm_um_phdr gsm_um ;
3025    struct nstr_phdr nstr ;   3025    struct nstr_phdr nstr ;
3026 };   3026 };
3027 struct wtap_nstime {   3027 struct wtap_nstime {
3028    time_t secs ;   3028    time_t secs ;
3029    int nsecs ;   3029    int nsecs ;
3030 };   3030 };
3031 struct wtap_pkthdr {   3031 struct wtap_pkthdr {
3032    struct wtap_nstime ts ;   3032    struct wtap_nstime ts ;
3033    guint32 caplen ;   3033    guint32 caplen ;
3034    guint32 len ;   3034    guint32 len ;
3035    int pkt_encap ;   3035    int pkt_encap ;
3036 };   3036 };
3037 struct Buffer;   3037 struct Buffer;
3038 struct Buffer;   3038 struct Buffer;
3039 struct wtap_dumper;   3039 struct wtap_dumper;
3040 struct wtap_dumper;   3040 struct wtap_dumper;
3041 typedef struct wtap wtap;   3041 typedef struct wtap wtap;
3042 typedef struct wtap_dumper wtap_dumper;   3042 typedef struct wtap_dumper wtap_dumper;
3043 struct file_type_info {   3043 struct file_type_info {
3044    char const   *name ;   3044    char const   *name ;
3045    char const   *short_name ;   3045    char const   *short_name ;
3046    char const   *file_extensions ;   3046    char const   *file_extensions ;
3047    char const   *file_extension_default ;   3047    char const   *file_extension_default ;
3048    gboolean writing_must_seek ;   3048    gboolean writing_must_seek ;
3049    gboolean has_name_resolution ;   3049    gboolean has_name_resolution ;
3050    int (*can_write_encap)(int  ) ;   3050    int (*can_write_encap)(int  ) ;
3051    int (*dump_open)(wtap_dumper * , int * ) ;   3051    int (*dump_open)(wtap_dumper * , int * ) ;
3052 };   3052 };
3053 typedef int (*wtap_open_routine_t)(struct wtap * , int * , char ** );   3053 typedef int (*wtap_open_routine_t)(struct wtap * , int * , char ** );
3054 typedef void (*wtap_new_ipv4_callback_t)(guint const   addr ,   3054 typedef void (*wtap_new_ipv4_callback_t)(guint const   addr ,
3055                                          gchar const   *name );   3055                                          gchar const   *name );
3056 typedef void (*wtap_new_ipv6_callback_t)(void const   *addrp ,   3056 typedef void (*wtap_new_ipv6_callback_t)(void const   *addrp ,
3057                                          gchar const   *name );   3057                                          gchar const   *name );
3058 struct addrinfo;   3058 struct addrinfo;
3059 struct __anonstruct_nstime_t_127 {   3059 struct __anonstruct_nstime_t_127 {
3060    time_t secs ;   3060    time_t secs ;
3061    int nsecs ;   3061    int nsecs ;
3062 };   3062 };
3063 typedef struct __anonstruct_nstime_t_127 nstime_t;   3063 typedef struct __anonstruct_nstime_t_127 nstime_t;
3064 struct __anonstruct_flags_128 {   3064 struct __anonstruct_flags_128 {
3065    unsigned int passed_dfilter : 1 ;   3065    unsigned int passed_dfilter : 1 ;
3066    unsigned int encoding : 2 ;   3066    unsigned int encoding : 2 ;
3067    unsigned int visited : 1 ;   3067    unsigned int visited : 1 ;
3068    unsigned int marked : 1 ;   3068    unsigned int marked : 1 ;
3069    unsigned int ref_time : 1 ;   3069    unsigned int ref_time : 1 ;
3070    unsigned int ignored : 1 ;   3070    unsigned int ignored : 1 ;
3071 };   3071 };
3072 struct _frame_data {   3072 struct _frame_data {
3073    GSList *pfd ;   3073    GSList *pfd ;
3074    guint32 num ;   3074    guint32 num ;
3075    guint32 pkt_len ;   3075    guint32 pkt_len ;
3076    guint32 cap_len ;   3076    guint32 cap_len ;
3077    guint32 cum_bytes ;   3077    guint32 cum_bytes ;
3078    gint64 file_off ;   3078    gint64 file_off ;
3079    guint16 subnum ;   3079    guint16 subnum ;
3080    gint16 lnk_t ;   3080    gint16 lnk_t ;
3081    struct __anonstruct_flags_128 flags ;   3081    struct __anonstruct_flags_128 flags ;
3082    void const   *color_filter ;   3082    void const   *color_filter ;
3083    nstime_t abs_ts ;   3083    nstime_t abs_ts ;
3084    nstime_t rel_ts ;   3084    nstime_t rel_ts ;
3085    nstime_t del_dis_ts ;   3085    nstime_t del_dis_ts ;
3086    nstime_t del_cap_ts ;   3086    nstime_t del_cap_ts ;
3087 };   3087 };
3088 typedef struct _frame_data frame_data;   3088 typedef struct _frame_data frame_data;
3089 struct __anonstruct_data_source_129 {   3089 struct __anonstruct_data_source_129 {
3090    tvbuff_t *tvb ;   3090    tvbuff_t *tvb ;
3091    gboolean name_initialized ;   3091    gboolean name_initialized ;
3092    char const   *name ;   3092    char const   *name ;
3093 };   3093 };
3094 typedef struct __anonstruct_data_source_129 data_source;   3094 typedef struct __anonstruct_data_source_129 data_source;
3095 struct range_admin_tag {   3095 struct range_admin_tag {
3096    guint32 low ;   3096    guint32 low ;
3097    guint32 high ;   3097    guint32 high ;
3098 };   3098 };
3099 typedef struct range_admin_tag range_admin_t;   3099 typedef struct range_admin_tag range_admin_t;
3100 struct range {   3100 struct range {
3101    guint nranges ;   3101    guint nranges ;
3102    range_admin_t ranges[1] ;   3102    range_admin_t ranges[1] ;
3103 };   3103 };
3104 typedef struct range range_t;   3104 typedef struct range range_t;
3105 enum __anonenum_convert_ret_t_130 {   3105 enum __anonenum_convert_ret_t_130 {
3106     CVT_NO_ERROR = 0,   3106     CVT_NO_ERROR = 0,
3107     CVT_SYNTAX_ERROR = 1,   3107     CVT_SYNTAX_ERROR = 1,
3108     CVT_NUMBER_TOO_BIG = 2   3108     CVT_NUMBER_TOO_BIG = 2
3109 } ;   3109 } ;
3110 typedef enum __anonenum_convert_ret_t_130 convert_ret_t;   3110 typedef enum __anonenum_convert_ret_t_130 convert_ret_t;
3111 enum __anonenum_packet_range_e_131 {   3111 enum __anonenum_packet_range_e_131 {
3112     range_process_all = 0,   3112     range_process_all = 0,
3113     range_process_selected = 1,   3113     range_process_selected = 1,
3114     range_process_marked = 2,   3114     range_process_marked = 2,
3115     range_process_marked_range = 3,   3115     range_process_marked_range = 3,
3116     range_process_user_range = 4   3116     range_process_user_range = 4
3117 } ;   3117 } ;
3118 typedef enum __anonenum_packet_range_e_131 packet_range_e;   3118 typedef enum __anonenum_packet_range_e_131 packet_range_e;
3119 struct packet_range_tag {   3119 struct packet_range_tag {
3120    packet_range_e process ;   3120    packet_range_e process ;
3121    gboolean process_filtered ;   3121    gboolean process_filtered ;
3122    gboolean remove_ignored ;   3122    gboolean remove_ignored ;
3123    range_t *user_range ;   3123    range_t *user_range ;
3124    convert_ret_t user_range_status ;   3124    convert_ret_t user_range_status ;
3125    guint32 selected_packet ;   3125    guint32 selected_packet ;
3126    guint32 mark_range_cnt ;   3126    guint32 mark_range_cnt ;
3127    guint32 user_range_cnt ;   3127    guint32 user_range_cnt ;
3128    guint32 ignored_cnt ;   3128    guint32 ignored_cnt ;
3129    guint32 ignored_marked_cnt ;   3129    guint32 ignored_marked_cnt ;
3130    guint32 ignored_mark_range_cnt ;   3130    guint32 ignored_mark_range_cnt ;
3131    guint32 ignored_user_range_cnt ;   3131    guint32 ignored_user_range_cnt ;
3132    guint32 displayed_cnt ;   3132    guint32 displayed_cnt ;
3133    guint32 displayed_marked_cnt ;   3133    guint32 displayed_marked_cnt ;
3134    guint32 displayed_mark_range_cnt ;   3134    guint32 displayed_mark_range_cnt ;
3135    guint32 displayed_user_range_cnt ;   3135    guint32 displayed_user_range_cnt ;
3136    guint32 displayed_ignored_cnt ;   3136    guint32 displayed_ignored_cnt ;
3137    guint32 displayed_ignored_marked_cnt ;   3137    guint32 displayed_ignored_marked_cnt ;
3138    guint32 displayed_ignored_mark_range_cnt ;   3138    guint32 displayed_ignored_mark_range_cnt ;
3139    guint32 displayed_ignored_user_range_cnt ;   3139    guint32 displayed_ignored_user_range_cnt ;
3140    gboolean marked_range_active ;   3140    gboolean marked_range_active ;
3141    guint32 marked_range_left ;   3141    guint32 marked_range_left ;
3142    gboolean selected_done ;   3142    gboolean selected_done ;
3143 };   3143 };
3144 typedef struct packet_range_tag packet_range_t;   3144 typedef struct packet_range_tag packet_range_t;
3145 enum __anonenum_range_process_e_132 {   3145 enum __anonenum_range_process_e_132 {
3146     range_process_this = 0,   3146     range_process_this = 0,
3147     range_process_next = 1,   3147     range_process_next = 1,
3148     range_processing_finished = 2   3148     range_processing_finished = 2
3149 } ;   3149 } ;
3150 typedef enum __anonenum_range_process_e_132 range_process_e;   3150 typedef enum __anonenum_range_process_e_132 range_process_e;
3151 typedef struct _dfilter_t dfilter_t;   3151 typedef struct _dfilter_t dfilter_t;
3152 enum __anonenum_register_action_e_133 {   3152 enum __anonenum_register_action_e_133 {
3153     RA_NONE = 0,   3153     RA_NONE = 0,
3154     RA_DISSECTORS = 1,   3154     RA_DISSECTORS = 1,
3155     RA_LISTENERS = 2,   3155     RA_LISTENERS = 2,
3156     RA_REGISTER = 3,   3156     RA_REGISTER = 3,
3157     RA_PLUGIN_REGISTER = 4,   3157     RA_PLUGIN_REGISTER = 4,
3158     RA_HANDOFF = 5,   3158     RA_HANDOFF = 5,
3159     RA_PLUGIN_HANDOFF = 6,   3159     RA_PLUGIN_HANDOFF = 6,
3160     RA_PREFERENCES = 7,   3160     RA_PREFERENCES = 7,
3161     RA_CONFIGURATION = 8   3161     RA_CONFIGURATION = 8
3162 } ;   3162 } ;
3163 typedef enum __anonenum_register_action_e_133 register_action_e;   3163 typedef enum __anonenum_register_action_e_133 register_action_e;
3164 typedef void (*register_cb)(register_action_e action , char const   *message ,   3164 typedef void (*register_cb)(register_action_e action , char const   *message ,
3165                             gpointer client_data );   3165                             gpointer client_data );
3166 struct _epan_dissect_t;   3166 struct _epan_dissect_t;
3167 typedef struct _epan_dissect_t epan_dissect_t;   3167 typedef struct _epan_dissect_t epan_dissect_t;
3168 struct epan_session;   3168 struct epan_session;
3169 typedef struct epan_session epan_t;   3169 typedef struct epan_session epan_t;
3170 struct __anonstruct_ipv4_addr_134 {   3170 struct __anonstruct_ipv4_addr_134 {
3171    guint32 addr ;   3171    guint32 addr ;
3172    guint32 nmask ;   3172    guint32 nmask ;
3173 };   3173 };
3174 typedef struct __anonstruct_ipv4_addr_134 ipv4_addr;   3174 typedef struct __anonstruct_ipv4_addr_134 ipv4_addr;
3175 enum __anonenum_to_str_time_res_t_135 {   3175 enum __anonenum_to_str_time_res_t_135 {
3176     TO_STR_TIME_RES_T_SECS = 0,   3176     TO_STR_TIME_RES_T_SECS = 0,
3177     TO_STR_TIME_RES_T_DSECS = 1,   3177     TO_STR_TIME_RES_T_DSECS = 1,
3178     TO_STR_TIME_RES_T_CSECS = 2,   3178     TO_STR_TIME_RES_T_CSECS = 2,
3179     TO_STR_TIME_RES_T_MSECS = 3,   3179     TO_STR_TIME_RES_T_MSECS = 3,
3180     TO_STR_TIME_RES_T_USECS = 4,   3180     TO_STR_TIME_RES_T_USECS = 4,
3181     TO_STR_TIME_RES_T_NSECS = 5   3181     TO_STR_TIME_RES_T_NSECS = 5
3182 } ;   3182 } ;
3183 typedef enum __anonenum_to_str_time_res_t_135 to_str_time_res_t;   3183 typedef enum __anonenum_to_str_time_res_t_135 to_str_time_res_t;
3184 enum __anonenum_absolute_time_display_e_136 {   3184 enum __anonenum_absolute_time_display_e_136 {
3185     ABSOLUTE_TIME_LOCAL = 1000,   3185     ABSOLUTE_TIME_LOCAL = 1000,
3186     ABSOLUTE_TIME_UTC = 1001,   3186     ABSOLUTE_TIME_UTC = 1001,
3187     ABSOLUTE_TIME_DOY_UTC = 1002   3187     ABSOLUTE_TIME_DOY_UTC = 1002
3188 } ;   3188 } ;
3189 typedef enum __anonenum_absolute_time_display_e_136 absolute_time_display_e;   3189 typedef enum __anonenum_absolute_time_display_e_136 absolute_time_display_e;
3190 struct _ep_stack_frame_t;   3190 struct _ep_stack_frame_t;
3191 typedef struct _ep_stack_frame_t **ep_stack_t;   3191 typedef struct _ep_stack_frame_t **ep_stack_t;
3192 struct _ep_stack_frame_t {   3192 struct _ep_stack_frame_t {
3193    void *payload ;   3193    void *payload ;
3194    struct _ep_stack_frame_t *below ;   3194    struct _ep_stack_frame_t *below ;
3195    struct _ep_stack_frame_t *above ;   3195    struct _ep_stack_frame_t *above ;
3196 };   3196 };
3197 struct _emem_chunk_t;   3197 struct _emem_chunk_t;
3198 struct _emem_chunk_t;   3198 struct _emem_chunk_t;
3199 struct ws_memory_slab {   3199 struct ws_memory_slab {
3200    gint const   item_size ;   3200    gint const   item_size ;
3201    gint const   count ;   3201    gint const   count ;
3202    struct _emem_chunk_t *chunk_list ;   3202    struct _emem_chunk_t *chunk_list ;
3203    void *freed ;   3203    void *freed ;
3204 };   3204 };
3205 struct __anonstruct_u_137 {   3205 struct __anonstruct_u_137 {
3206    guint32 rb_color : 1 ;   3206    guint32 rb_color : 1 ;
3207    guint32 is_subtree : 1 ;   3207    guint32 is_subtree : 1 ;
3208 };   3208 };
3209 struct _emem_tree_node_t {   3209 struct _emem_tree_node_t {
3210    struct _emem_tree_node_t *parent ;   3210    struct _emem_tree_node_t *parent ;
3211    struct _emem_tree_node_t *left ;   3211    struct _emem_tree_node_t *left ;
3212    struct _emem_tree_node_t *right ;   3212    struct _emem_tree_node_t *right ;
3213    struct __anonstruct_u_137 u ;   3213    struct __anonstruct_u_137 u ;
3214    guint32 key32 ;   3214    guint32 key32 ;
3215    void *data ;   3215    void *data ;
3216 };   3216 };
3217 typedef struct _emem_tree_node_t emem_tree_node_t;   3217 typedef struct _emem_tree_node_t emem_tree_node_t;
3218 struct _emem_tree_t {   3218 struct _emem_tree_t {
3219    struct _emem_tree_t *next ;   3219    struct _emem_tree_t *next ;
3220    int type ;   3220    int type ;
3221    char const   *name ;   3221    char const   *name ;
3222    emem_tree_node_t *tree ;   3222    emem_tree_node_t *tree ;
3223    void *(*malloc)(size_t  ) ;   3223    void *(*malloc)(size_t  ) ;
3224 };   3224 };
3225 typedef struct _emem_tree_t emem_tree_t;   3225 typedef struct _emem_tree_t emem_tree_t;
3226 struct _emem_tree_key_t {   3226 struct _emem_tree_key_t {
3227    guint32 length ;   3227    guint32 length ;
3228    guint32 *key ;   3228    guint32 *key ;
3229 };   3229 };
3230 typedef struct _emem_tree_key_t emem_tree_key_t;   3230 typedef struct _emem_tree_key_t emem_tree_key_t;
3231 typedef gboolean (*tree_foreach_func)(void *value , void *userdata );   3231 typedef gboolean (*tree_foreach_func)(void *value , void *userdata );
3232 struct _emem_strbuf_t {   3232 struct _emem_strbuf_t {
3233    gchar *str ;   3233    gchar *str ;
3234    gsize len ;   3234    gsize len ;
3235    gsize alloc_len ;   3235    gsize alloc_len ;
3236    gsize max_alloc_len ;   3236    gsize max_alloc_len ;
3237 };   3237 };
3238 typedef struct _emem_strbuf_t emem_strbuf_t;   3238 typedef struct _emem_strbuf_t emem_strbuf_t;
3239 enum ftenum {   3239 enum ftenum {
3240     FT_NONE = 0,   3240     FT_NONE = 0,
3241     FT_PROTOCOL = 1,   3241     FT_PROTOCOL = 1,
3242     FT_BOOLEAN = 2,   3242     FT_BOOLEAN = 2,
3243     FT_UINT8 = 3,   3243     FT_UINT8 = 3,
3244     FT_UINT16 = 4,   3244     FT_UINT16 = 4,
3245     FT_UINT24 = 5,   3245     FT_UINT24 = 5,
3246     FT_UINT32 = 6,   3246     FT_UINT32 = 6,
3247     FT_UINT64 = 7,   3247     FT_UINT64 = 7,
3248     FT_INT8 = 8,   3248     FT_INT8 = 8,
3249     FT_INT16 = 9,   3249     FT_INT16 = 9,
3250     FT_INT24 = 10,   3250     FT_INT24 = 10,
3251     FT_INT32 = 11,   3251     FT_INT32 = 11,
3252     FT_INT64 = 12,   3252     FT_INT64 = 12,
3253     FT_FLOAT = 13,   3253     FT_FLOAT = 13,
3254     FT_DOUBLE = 14,   3254     FT_DOUBLE = 14,
3255     FT_ABSOLUTE_TIME = 15,   3255     FT_ABSOLUTE_TIME = 15,
3256     FT_RELATIVE_TIME = 16,   3256     FT_RELATIVE_TIME = 16,
3257     FT_STRING = 17,   3257     FT_STRING = 17,
3258     FT_STRINGZ = 18,   3258     FT_STRINGZ = 18,
3259     FT_EBCDIC = 19,   3259     FT_EBCDIC = 19,
3260     FT_UINT_STRING = 20,   3260     FT_UINT_STRING = 20,
3261     FT_ETHER = 21,   3261     FT_ETHER = 21,
3262     FT_BYTES = 22,   3262     FT_BYTES = 22,
3263     FT_UINT_BYTES = 23,   3263     FT_UINT_BYTES = 23,
3264     FT_IPv4 = 24,   3264     FT_IPv4 = 24,
3265     FT_IPv6 = 25,   3265     FT_IPv6 = 25,
3266     FT_IPXNET = 26,   3266     FT_IPXNET = 26,
3267     FT_FRAMENUM = 27,   3267     FT_FRAMENUM = 27,
3268     FT_PCRE = 28,   3268     FT_PCRE = 28,
3269     FT_GUID = 29,   3269     FT_GUID = 29,
3270     FT_OID = 30,   3270     FT_OID = 30,
3271     FT_EUI64 = 31,   3271     FT_EUI64 = 31,
3272     FT_NUM_TYPES = 32   3272     FT_NUM_TYPES = 32
3273 } ;   3273 } ;
3274 typedef enum ftenum ftenum_t;   3274 typedef enum ftenum ftenum_t;
3275 struct _ftype_t;   3275 struct _ftype_t;
3276 typedef struct _ftype_t ftype_t;   3276 typedef struct _ftype_t ftype_t;
3277 enum ftrepr {   3277 enum ftrepr {
3278     FTREPR_DISPLAY = 0,   3278     FTREPR_DISPLAY = 0,
3279     FTREPR_DFILTER = 1   3279     FTREPR_DFILTER = 1
3280 } ;   3280 } ;
3281 typedef enum ftrepr ftrepr_t;   3281 typedef enum ftrepr ftrepr_t;
3282 enum __anonenum_drange_node_end_t_138 {   3282 enum __anonenum_drange_node_end_t_138 {
3283     DRANGE_NODE_END_T_UNINITIALIZED = 0,   3283     DRANGE_NODE_END_T_UNINITIALIZED = 0,
3284     DRANGE_NODE_END_T_LENGTH = 1,   3284     DRANGE_NODE_END_T_LENGTH = 1,
3285     DRANGE_NODE_END_T_OFFSET = 2,   3285     DRANGE_NODE_END_T_OFFSET = 2,
3286     DRANGE_NODE_END_T_TO_THE_END = 3   3286     DRANGE_NODE_END_T_TO_THE_END = 3
3287 } ;   3287 } ;
3288 typedef enum __anonenum_drange_node_end_t_138 drange_node_end_t;   3288 typedef enum __anonenum_drange_node_end_t_138 drange_node_end_t;
3289 struct _drange_node {   3289 struct _drange_node {
3290    gint start_offset ;   3290    gint start_offset ;
3291    gint length ;   3291    gint length ;
3292    gint end_offset ;   3292    gint end_offset ;
3293    drange_node_end_t ending ;   3293    drange_node_end_t ending ;
3294 };   3294 };
3295 typedef struct _drange_node drange_node;   3295 typedef struct _drange_node drange_node;
3296 struct _drange {   3296 struct _drange {
3297    GSList *range_list ;   3297    GSList *range_list ;
3298    gboolean has_total_length ;   3298    gboolean has_total_length ;
3299    gint total_length ;   3299    gint total_length ;
3300    gint min_start_offset ;   3300    gint min_start_offset ;
3301    gint max_start_offset ;   3301    gint max_start_offset ;
3302 };   3302 };
3303 typedef struct _drange drange;   3303 typedef struct _drange drange;
3304 union __anonunion_value_139 {   3304 union __anonunion_value_139 {
3305    guint32 uinteger ;   3305    guint32 uinteger ;
3306    gint32 sinteger ;   3306    gint32 sinteger ;
3307    guint64 integer64 ;   3307    guint64 integer64 ;
3308    gdouble floating ;   3308    gdouble floating ;
3309    gchar *string ;   3309    gchar *string ;
3310    guchar *ustring ;   3310    guchar *ustring ;
3311    GByteArray *bytes ;   3311    GByteArray *bytes ;
3312    ipv4_addr ipv4 ;   3312    ipv4_addr ipv4 ;
3313    e_guid_t guid ;   3313    e_guid_t guid ;
3314    nstime_t time ;   3314    nstime_t time ;
3315    tvbuff_t *tvb ;   3315    tvbuff_t *tvb ;
3316    GRegex *re ;   3316    GRegex *re ;
3317 };   3317 };
3318 struct _fvalue_t {   3318 struct _fvalue_t {
3319    ftype_t *ftype ;   3319    ftype_t *ftype ;
3320    union __anonunion_value_139 value ;   3320    union __anonunion_value_139 value ;
3321    gboolean fvalue_gboolean1 ;   3321    gboolean fvalue_gboolean1 ;
3322 };   3322 };
3323 typedef struct _fvalue_t fvalue_t;   3323 typedef struct _fvalue_t fvalue_t;
3324 typedef void (*FvalueNewFunc)(fvalue_t * );   3324 typedef void (*FvalueNewFunc)(fvalue_t * );
3325 typedef void (*FvalueFreeFunc)(fvalue_t * );   3325 typedef void (*FvalueFreeFunc)(fvalue_t * );
3326 typedef void (*LogFunc)(char const   *  , ...);   3326 typedef void (*LogFunc)(char const   *  , ...);
3327 typedef gboolean (*FvalueFromUnparsed)(fvalue_t * , char * , gboolean  ,   3327 typedef gboolean (*FvalueFromUnparsed)(fvalue_t * , char * , gboolean  ,
3328                                        void (*)(char const   *  , ...) );   3328                                        void (*)(char const   *  , ...) );
3329 typedef gboolean (*FvalueFromString)(fvalue_t * , char * ,   3329 typedef gboolean (*FvalueFromString)(fvalue_t * , char * ,
3330                                      void (*)(char const   *  , ...) );   3330                                      void (*)(char const   *  , ...) );
3331 typedef void (*FvalueToStringRepr)(fvalue_t * , ftrepr_t  , char * );   3331 typedef void (*FvalueToStringRepr)(fvalue_t * , ftrepr_t  , char * );
3332 typedef int (*FvalueStringReprLen)(fvalue_t * , ftrepr_t  );   3332 typedef int (*FvalueStringReprLen)(fvalue_t * , ftrepr_t  );
3333 typedef void (*FvalueSetFunc)(fvalue_t * , gpointer  , gboolean  );   3333 typedef void (*FvalueSetFunc)(fvalue_t * , gpointer  , gboolean  );
3334 typedef void (*FvalueSetUnsignedIntegerFunc)(fvalue_t * , guint32  );   3334 typedef void (*FvalueSetUnsignedIntegerFunc)(fvalue_t * , guint32  );
3335 typedef void (*FvalueSetSignedIntegerFunc)(fvalue_t * , gint32  );   3335 typedef void (*FvalueSetSignedIntegerFunc)(fvalue_t * , gint32  );
3336 typedef void (*FvalueSetInteger64Func)(fvalue_t * , guint64  );   3336 typedef void (*FvalueSetInteger64Func)(fvalue_t * , guint64  );
3337 typedef void (*FvalueSetFloatingFunc)(fvalue_t * , gdouble  );   3337 typedef void (*FvalueSetFloatingFunc)(fvalue_t * , gdouble  );
3338 typedef gpointer (*FvalueGetFunc)(fvalue_t * );   3338 typedef gpointer (*FvalueGetFunc)(fvalue_t * );
3339 typedef guint32 (*FvalueGetUnsignedIntegerFunc)(fvalue_t * );   3339 typedef guint32 (*FvalueGetUnsignedIntegerFunc)(fvalue_t * );
3340 typedef gint32 (*FvalueGetSignedIntegerFunc)(fvalue_t * );   3340 typedef gint32 (*FvalueGetSignedIntegerFunc)(fvalue_t * );
3341 typedef guint64 (*FvalueGetInteger64Func)(fvalue_t * );   3341 typedef guint64 (*FvalueGetInteger64Func)(fvalue_t * );
3342 typedef double (*FvalueGetFloatingFunc)(fvalue_t * );   3342 typedef double (*FvalueGetFloatingFunc)(fvalue_t * );
3343 typedef gboolean (*FvalueCmp)(fvalue_t * , fvalue_t * );   3343 typedef gboolean (*FvalueCmp)(fvalue_t * , fvalue_t * );
3344 typedef guint (*FvalueLen)(fvalue_t * );   3344 typedef guint (*FvalueLen)(fvalue_t * );
3345 typedef void (*FvalueSlice)(fvalue_t * , GByteArray * , guint offset ,   3345 typedef void (*FvalueSlice)(fvalue_t * , GByteArray * , guint offset ,
3346                             guint length );   3346                             guint length );
3347 struct _ftype_t {   3347 struct _ftype_t {
3348    ftenum_t ftype ;   3348    ftenum_t ftype ;
3349    char const   *name ;   3349    char const   *name ;
3350    char const   *pretty_name ;   3350    char const   *pretty_name ;
3351    int wire_size ;   3351    int wire_size ;
3352    void (*new_value)(fvalue_t * ) ;   3352    void (*new_value)(fvalue_t * ) ;
3353    void (*free_value)(fvalue_t * ) ;   3353    void (*free_value)(fvalue_t * ) ;
3354    gboolean (*val_from_unparsed)(fvalue_t * , char * , gboolean  ,   3354    gboolean (*val_from_unparsed)(fvalue_t * , char * , gboolean  ,
3355                                  void (*)(char const   *  , ...) ) ;   3355                                  void (*)(char const   *  , ...) ) ;
3356    gboolean (*val_from_string)(fvalue_t * , char * ,   3356    gboolean (*val_from_string)(fvalue_t * , char * ,
3357                                void (*)(char const   *  , ...) ) ;   3357                                void (*)(char const   *  , ...) ) ;
3358    void (*val_to_string_repr)(fvalue_t * , ftrepr_t  , char * ) ;   3358    void (*val_to_string_repr)(fvalue_t * , ftrepr_t  , char * ) ;
3359    int (*len_string_repr)(fvalue_t * , ftrepr_t  ) ;   3359    int (*len_string_repr)(fvalue_t * , ftrepr_t  ) ;
3360    void (*set_value)(fvalue_t * , gpointer  , gboolean  ) ;   3360    void (*set_value)(fvalue_t * , gpointer  , gboolean  ) ;
3361    void (*set_value_uinteger)(fvalue_t * , guint32  ) ;   3361    void (*set_value_uinteger)(fvalue_t * , guint32  ) ;
3362    void (*set_value_sinteger)(fvalue_t * , gint32  ) ;   3362    void (*set_value_sinteger)(fvalue_t * , gint32  ) ;
3363    void (*set_value_integer64)(fvalue_t * , guint64  ) ;   3363    void (*set_value_integer64)(fvalue_t * , guint64  ) ;
3364    void (*set_value_floating)(fvalue_t * , gdouble  ) ;   3364    void (*set_value_floating)(fvalue_t * , gdouble  ) ;
3365    gpointer (*get_value)(fvalue_t * ) ;   3365    gpointer (*get_value)(fvalue_t * ) ;
3366    guint32 (*get_value_uinteger)(fvalue_t * ) ;   3366    guint32 (*get_value_uinteger)(fvalue_t * ) ;
3367    gint32 (*get_value_sinteger)(fvalue_t * ) ;   3367    gint32 (*get_value_sinteger)(fvalue_t * ) ;
3368    guint64 (*get_value_integer64)(fvalue_t * ) ;   3368    guint64 (*get_value_integer64)(fvalue_t * ) ;
3369    double (*get_value_floating)(fvalue_t * ) ;   3369    double (*get_value_floating)(fvalue_t * ) ;
3370    gboolean (*cmp_eq)(fvalue_t * , fvalue_t * ) ;   3370    gboolean (*cmp_eq)(fvalue_t * , fvalue_t * ) ;
3371    gboolean (*cmp_ne)(fvalue_t * , fvalue_t * ) ;   3371    gboolean (*cmp_ne)(fvalue_t * , fvalue_t * ) ;
3372    gboolean (*cmp_gt)(fvalue_t * , fvalue_t * ) ;   3372    gboolean (*cmp_gt)(fvalue_t * , fvalue_t * ) ;
3373    gboolean (*cmp_ge)(fvalue_t * , fvalue_t * ) ;   3373    gboolean (*cmp_ge)(fvalue_t * , fvalue_t * ) ;
3374    gboolean (*cmp_lt)(fvalue_t * , fvalue_t * ) ;   3374    gboolean (*cmp_lt)(fvalue_t * , fvalue_t * ) ;
3375    gboolean (*cmp_le)(fvalue_t * , fvalue_t * ) ;   3375    gboolean (*cmp_le)(fvalue_t * , fvalue_t * ) ;
3376    gboolean (*cmp_bitwise_and)(fvalue_t * , fvalue_t * ) ;   3376    gboolean (*cmp_bitwise_and)(fvalue_t * , fvalue_t * ) ;
3377    gboolean (*cmp_contains)(fvalue_t * , fvalue_t * ) ;   3377    gboolean (*cmp_contains)(fvalue_t * , fvalue_t * ) ;
3378    gboolean (*cmp_matches)(fvalue_t * , fvalue_t * ) ;   3378    gboolean (*cmp_matches)(fvalue_t * , fvalue_t * ) ;
3379    guint (*len)(fvalue_t * ) ;   3379    guint (*len)(fvalue_t * ) ;
3380    void (*slice)(fvalue_t * , GByteArray * , guint offset , guint length ) ;   3380    void (*slice)(fvalue_t * , GByteArray * , guint offset , guint length ) ;
3381 };   3381 };
3382 struct _value_string;   3382 struct _value_string;
3383 struct _value_string;   3383 struct _value_string;
3384 typedef void (*custom_fmt_func_t)(gchar * , guint32  );   3384 typedef void (*custom_fmt_func_t)(gchar * , guint32  );
3385 struct _protocol;   3385 struct _protocol;
3386 struct _protocol;   3386 struct _protocol;
3387 typedef struct _protocol protocol_t;   3387 typedef struct _protocol protocol_t;
3388 enum __anonenum_base_display_e_140 {   3388 enum __anonenum_base_display_e_140 {
3389     BASE_NONE = 0,   3389     BASE_NONE = 0,
3390     BASE_DEC = 1,   3390     BASE_DEC = 1,
3391     BASE_HEX = 2,   3391     BASE_HEX = 2,
3392     BASE_OCT = 3,   3392     BASE_OCT = 3,
3393     BASE_DEC_HEX = 4,   3393     BASE_DEC_HEX = 4,
3394     BASE_HEX_DEC = 5,   3394     BASE_HEX_DEC = 5,
3395     BASE_CUSTOM = 6   3395     BASE_CUSTOM = 6
3396 } ;   3396 } ;
3397 typedef enum __anonenum_base_display_e_140 base_display_e;   3397 typedef enum __anonenum_base_display_e_140 base_display_e;
3398 enum __anonenum_hf_ref_type_141 {   3398 enum __anonenum_hf_ref_type_141 {
3399     HF_REF_TYPE_NONE = 0,   3399     HF_REF_TYPE_NONE = 0,
3400     HF_REF_TYPE_INDIRECT = 1,   3400     HF_REF_TYPE_INDIRECT = 1,
3401     HF_REF_TYPE_DIRECT = 2   3401     HF_REF_TYPE_DIRECT = 2
3402 } ;   3402 } ;
3403 typedef enum __anonenum_hf_ref_type_141 hf_ref_type;   3403 typedef enum __anonenum_hf_ref_type_141 hf_ref_type;
3404 struct _header_field_info;   3404 struct _header_field_info;
3405 typedef struct _header_field_info header_field_info;   3405 typedef struct _header_field_info header_field_info;
3406 struct _header_field_info {   3406 struct _header_field_info {
3407    char const   *name ;   3407    char const   *name ;
3408    char const   *abbrev ;   3408    char const   *abbrev ;
3409    enum ftenum type ;   3409    enum ftenum type ;
3410    int display ;   3410    int display ;
3411    void const   *strings ;   3411    void const   *strings ;
3412    guint32 bitmask ;   3412    guint32 bitmask ;
3413    char const   *blurb ;   3413    char const   *blurb ;
3414    int id ;   3414    int id ;
3415    int parent ;   3415    int parent ;
3416    hf_ref_type ref_type ;   3416    hf_ref_type ref_type ;
3417    int bitshift ;   3417    int bitshift ;
3418    header_field_info *same_name_next ;   3418    header_field_info *same_name_next ;
3419    header_field_info *same_name_prev ;   3419    header_field_info *same_name_prev ;
3420 };   3420 };
3421 struct hf_register_info {   3421 struct hf_register_info {
3422    int *p_id ;   3422    int *p_id ;
3423    header_field_info hfinfo ;   3423    header_field_info hfinfo ;
3424 };   3424 };
3425 typedef struct hf_register_info hf_register_info;   3425 typedef struct hf_register_info hf_register_info;
3426 struct _item_label_t {   3426 struct _item_label_t {
3427    char representation[240] ;   3427    char representation[240] ;
3428 };   3428 };
3429 typedef struct _item_label_t item_label_t;   3429 typedef struct _item_label_t item_label_t;
3430 struct field_info {   3430 struct field_info {
3431    header_field_info *hfinfo ;   3431    header_field_info *hfinfo ;
3432    gint start ;   3432    gint start ;
3433    gint length ;   3433    gint length ;
3434    gint appendix_start ;   3434    gint appendix_start ;
3435    gint appendix_length ;   3435    gint appendix_length ;
3436    gint tree_type ;   3436    gint tree_type ;
3437    item_label_t *rep ;   3437    item_label_t *rep ;
3438    guint32 flags ;   3438    guint32 flags ;
3439    tvbuff_t *ds_tvb ;   3439    tvbuff_t *ds_tvb ;
3440    fvalue_t value ;   3440    fvalue_t value ;
3441 };   3441 };
3442 typedef struct field_info field_info;   3442 typedef struct field_info field_info;
3443 struct __anonstruct_tree_data_t_142 {   3443 struct __anonstruct_tree_data_t_142 {
3444    GHashTable *interesting_hfids ;   3444    GHashTable *interesting_hfids ;
3445    gboolean visible ;   3445    gboolean visible ;
3446    gboolean fake_protocols ;   3446    gboolean fake_protocols ;
3447    gint count ;   3447    gint count ;
3448 };   3448 };
3449 typedef struct __anonstruct_tree_data_t_142 tree_data_t;   3449 typedef struct __anonstruct_tree_data_t_142 tree_data_t;
3450 struct _proto_node {   3450 struct _proto_node {
3451    struct _proto_node *first_child ;   3451    struct _proto_node *first_child ;
3452    struct _proto_node *last_child ;   3452    struct _proto_node *last_child ;
3453    struct _proto_node *next ;   3453    struct _proto_node *next ;
3454    struct _proto_node *parent ;   3454    struct _proto_node *parent ;
3455    field_info *finfo ;   3455    field_info *finfo ;
3456    tree_data_t *tree_data ;   3456    tree_data_t *tree_data ;
3457 };   3457 };
3458 typedef struct _proto_node proto_node;   3458 typedef struct _proto_node proto_node;
3459 typedef proto_node proto_tree;   3459 typedef proto_node proto_tree;
3460 typedef proto_node proto_item;   3460 typedef proto_node proto_item;
3461 typedef void (*proto_tree_foreach_func)(proto_node * , gpointer  );   3461 typedef void (*proto_tree_foreach_func)(proto_node * , gpointer  );
3462 typedef gboolean (*proto_tree_traverse_func)(proto_node * , gpointer  );   3462 typedef gboolean (*proto_tree_traverse_func)(proto_node * , gpointer  );
3463 typedef void (*prefix_initializer_t)(char const   *match );   3463 typedef void (*prefix_initializer_t)(char const   *match );
3464 enum __anonenum_address_type_143 {   3464 enum __anonenum_address_type_143 {
3465     AT_NONE = 0,   3465     AT_NONE = 0,
3466     AT_ETHER = 1,   3466     AT_ETHER = 1,
3467     AT_IPv4 = 2,   3467     AT_IPv4 = 2,
3468     AT_IPv6 = 3,   3468     AT_IPv6 = 3,
3469     AT_IPX = 4,   3469     AT_IPX = 4,
3470     AT_SNA = 5,   3470     AT_SNA = 5,
3471     AT_ATALK = 6,   3471     AT_ATALK = 6,
3472     AT_VINES = 7,   3472     AT_VINES = 7,
3473     AT_OSI = 8,   3473     AT_OSI = 8,
3474     AT_ARCNET = 9,   3474     AT_ARCNET = 9,
3475     AT_FC = 10,   3475     AT_FC = 10,
3476     AT_SS7PC = 11,   3476     AT_SS7PC = 11,
3477     AT_STRINGZ = 12,   3477     AT_STRINGZ = 12,
3478     AT_EUI64 = 13,   3478     AT_EUI64 = 13,
3479     AT_URI = 14,   3479     AT_URI = 14,
3480     AT_TIPC = 15,   3480     AT_TIPC = 15,
3481     AT_IB = 16,   3481     AT_IB = 16,
3482     AT_USB = 17   3482     AT_USB = 17
3483 } ;   3483 } ;
3484 typedef enum __anonenum_address_type_143 address_type;   3484 typedef enum __anonenum_address_type_143 address_type;
3485 struct _address {   3485 struct _address {
3486    address_type type ;   3486    address_type type ;
3487    int len ;   3487    int len ;
3488    void const   *data ;   3488    void const   *data ;
3489 };   3489 };
3490 typedef struct _address address;   3490 typedef struct _address address;
3491 enum __anonenum_port_type_144 {   3491 enum __anonenum_port_type_144 {
3492     PT_NONE = 0,   3492     PT_NONE = 0,
3493     PT_SCTP = 1,   3493     PT_SCTP = 1,
3494     PT_TCP = 2,   3494     PT_TCP = 2,
3495     PT_UDP = 3,   3495     PT_UDP = 3,
3496     PT_DCCP = 4,   3496     PT_DCCP = 4,
3497     PT_IPX = 5,   3497     PT_IPX = 5,
3498     PT_NCP = 6,   3498     PT_NCP = 6,
3499     PT_EXCHG = 7,   3499     PT_EXCHG = 7,
3500     PT_DDP = 8,   3500     PT_DDP = 8,
3501     PT_SBCCS = 9,   3501     PT_SBCCS = 9,
3502     PT_IDP = 10,   3502     PT_IDP = 10,
3503     PT_TIPC = 11,   3503     PT_TIPC = 11,
3504     PT_USB = 12,   3504     PT_USB = 12,
3505     PT_I2C = 13,   3505     PT_I2C = 13,
3506     PT_IBQP = 14   3506     PT_IBQP = 14
3507 } ;   3507 } ;
3508 typedef enum __anonenum_port_type_144 port_type;   3508 typedef enum __anonenum_port_type_144 port_type;
3509 enum __anonenum_circuit_type_145 {   3509 enum __anonenum_circuit_type_145 {
3510     CT_NONE = 0,   3510     CT_NONE = 0,
3511     CT_DLCI = 1,   3511     CT_DLCI = 1,
3512     CT_ISDN = 2,   3512     CT_ISDN = 2,
3513     CT_X25 = 3,   3513     CT_X25 = 3,
3514     CT_ISUP = 4,   3514     CT_ISUP = 4,
3515     CT_IAX2 = 5,   3515     CT_IAX2 = 5,
3516     CT_H223 = 6,   3516     CT_H223 = 6,
3517     CT_BICC = 7   3517     CT_BICC = 7
3518 } ;   3518 } ;
3519 typedef enum __anonenum_circuit_type_145 circuit_type;   3519 typedef enum __anonenum_circuit_type_145 circuit_type;
3520 struct _sccp_msg_info_t;   3520 struct _sccp_msg_info_t;
3521 struct _packet_info {   3521 struct _packet_info {
3522    char const   *current_proto ;   3522    char const   *current_proto ;
3523    column_info *cinfo ;   3523    column_info *cinfo ;
3524    frame_data *fd ;   3524    frame_data *fd ;
3525    union wtap_pseudo_header *pseudo_header ;   3525    union wtap_pseudo_header *pseudo_header ;
3526    GSList *data_src ;   3526    GSList *data_src ;
3527    address dl_src ;   3527    address dl_src ;
3528    address dl_dst ;   3528    address dl_dst ;
3529    address net_src ;   3529    address net_src ;
3530    address net_dst ;   3530    address net_dst ;
3531    address src ;   3531    address src ;
3532    address dst ;   3532    address dst ;
3533    guint32 ethertype ;   3533    guint32 ethertype ;
3534    guint32 ipproto ;   3534    guint32 ipproto ;
3535    guint32 ipxptype ;   3535    guint32 ipxptype ;
3536    guint32 mpls_label ;   3536    guint32 mpls_label ;
3537    circuit_type ctype ;   3537    circuit_type ctype ;
3538    guint32 circuit_id ;   3538    guint32 circuit_id ;
3539    char const   *noreassembly_reason ;   3539    char const   *noreassembly_reason ;
3540    gboolean fragmented ;   3540    gboolean fragmented ;
3541    gboolean in_error_pkt ;   3541    gboolean in_error_pkt ;
3542    port_type ptype ;   3542    port_type ptype ;
3543    guint32 srcport ;   3543    guint32 srcport ;
3544    guint32 destport ;   3544    guint32 destport ;
3545    guint32 match_uint ;   3545    guint32 match_uint ;
3546    char const   *match_string ;   3546    char const   *match_string ;
3547    guint16 can_desegment ;   3547    guint16 can_desegment ;
3548    guint16 saved_can_desegment ;   3548    guint16 saved_can_desegment ;
3549    int desegment_offset ;   3549    int desegment_offset ;
3550    guint32 desegment_len ;   3550    guint32 desegment_len ;
3551    guint16 want_pdu_tracking ;   3551    guint16 want_pdu_tracking ;
3552    guint32 bytes_until_next_pdu ;   3552    guint32 bytes_until_next_pdu ;
3553    int iplen ;   3553    int iplen ;
3554    int iphdrlen ;   3554    int iphdrlen ;
3555    guint8 ip_ttl ;   3555    guint8 ip_ttl ;
3556    int p2p_dir ;   3556    int p2p_dir ;
3557    guint16 oxid ;   3557    guint16 oxid ;
3558    guint16 rxid ;   3558    guint16 rxid ;
3559    guint8 r_ctl ;   3559    guint8 r_ctl ;
3560    guint8 sof_eof ;   3560    guint8 sof_eof ;
3561    guint16 src_idx ;   3561    guint16 src_idx ;
3562    guint16 dst_idx ;   3562    guint16 dst_idx ;
3563    guint16 vsan ;   3563    guint16 vsan ;
3564    guint16 dcectxid ;   3564    guint16 dcectxid ;
3565    int dcetransporttype ;   3565    int dcetransporttype ;
3566    guint16 dcetransportsalt ;   3566    guint16 dcetransportsalt ;
3567    guint16 decrypt_gssapi_tvb ;   3567    guint16 decrypt_gssapi_tvb ;
3568    tvbuff_t *gssapi_wrap_tvb ;   3568    tvbuff_t *gssapi_wrap_tvb ;
3569    tvbuff_t *gssapi_encrypted_tvb ;   3569    tvbuff_t *gssapi_encrypted_tvb ;
3570    tvbuff_t *gssapi_decrypted_tvb ;   3570    tvbuff_t *gssapi_decrypted_tvb ;
3571    gboolean gssapi_data_encrypted ;   3571    gboolean gssapi_data_encrypted ;
3572    guint32 ppid ;   3572    guint32 ppid ;
3573    guint32 ppids[2] ;   3573    guint32 ppids[2] ;
3574    void *private_data ;   3574    void *private_data ;
3575    GString *layer_names ;   3575    GString *layer_names ;
3576    guint16 link_number ;   3576    guint16 link_number ;
3577    guint8 annex_a_used ;   3577    guint8 annex_a_used ;
3578    guint16 profinet_type ;   3578    guint16 profinet_type ;
3579    void *profinet_conv ;   3579    void *profinet_conv ;
3580    void *usb_conv_info ;   3580    void *usb_conv_info ;
3581    void *tcp_tree ;   3581    void *tcp_tree ;
3582    char const   *dcerpc_procedure_name ;   3582    char const   *dcerpc_procedure_name ;
3583    struct _sccp_msg_info_t *sccp_info ;   3583    struct _sccp_msg_info_t *sccp_info ;
3584    guint16 clnp_srcref ;   3584    guint16 clnp_srcref ;
3585    guint16 clnp_dstref ;   3585    guint16 clnp_dstref ;
3586    guint16 zbee_cluster_id ;   3586    guint16 zbee_cluster_id ;
3587    guint8 zbee_stack_vers ;   3587    guint8 zbee_stack_vers ;
3588    int link_dir ;   3588    int link_dir ;
3589 };   3589 };
3590 typedef struct _packet_info packet_info;   3590 typedef struct _packet_info packet_info;
3591 struct e_in6_addr;   3591 struct e_in6_addr;
3592 struct _value_string {   3592 struct _value_string {
3593    guint32 value ;   3593    guint32 value ;
3594    gchar const   *strptr ;   3594    gchar const   *strptr ;
3595 };   3595 };
3596 typedef struct _value_string value_string;   3596 typedef struct _value_string value_string;
3597 struct _string_string {   3597 struct _string_string {
3598    gchar const   *value ;   3598    gchar const   *value ;
3599    gchar const   *strptr ;   3599    gchar const   *strptr ;
3600 };   3600 };
3601 typedef struct _string_string string_string;   3601 typedef struct _string_string string_string;
3602 struct _range_string {   3602 struct _range_string {
3603    guint32 value_min ;   3603    guint32 value_min ;
3604    guint32 value_max ;   3604    guint32 value_max ;
3605    gchar const   *strptr ;   3605    gchar const   *strptr ;
3606 };   3606 };
3607 typedef struct _range_string range_string;   3607 typedef struct _range_string range_string;
3608 struct _value_string_ext;   3608 struct _value_string_ext;
3609 struct _value_string_ext;   3609 struct _value_string_ext;
3610 typedef value_string const   *(*_value_string_match2_t)(guint32 const    ,   3610 typedef value_string const   *(*_value_string_match2_t)(guint32 const    ,
3611                                                         struct _value_string_ext  const  * );   3611                                                         struct _value_string_ext  const  * );
3612 struct _value_string_ext {   3612 struct _value_string_ext {
3613    value_string const   *(*_vs_match2)(guint32 const    ,   3613    value_string const   *(*_vs_match2)(guint32 const    ,
3614                                        struct _value_string_ext  const  * ) ;   3614                                        struct _value_string_ext  const  * ) ;
3615    guint32 _vs_first_value ;   3615    guint32 _vs_first_value ;
3616    guint _vs_num_entries ;   3616    guint _vs_num_entries ;
3617    value_string const   *_vs_p ;   3617    value_string const   *_vs_p ;
3618    gchar const   *_vs_name ;   3618    gchar const   *_vs_name ;
3619 };   3619 };
3620 typedef struct _value_string_ext value_string_ext;   3620 typedef struct _value_string_ext value_string_ext;
3621 struct true_false_string {   3621 struct true_false_string {
3622    char const   *true_string ;   3622    char const   *true_string ;
3623    char const   *false_string ;   3623    char const   *false_string ;
3624 };   3624 };
3625 typedef struct true_false_string true_false_string;   3625 typedef struct true_false_string true_false_string;
3626 struct _packet_counts {   3626 struct _packet_counts {
3627    gint sctp ;   3627    gint sctp ;
3628    gint tcp ;   3628    gint tcp ;
3629    gint udp ;   3629    gint udp ;
3630    gint icmp ;   3630    gint icmp ;
3631    gint ospf ;   3631    gint ospf ;
3632    gint gre ;   3632    gint gre ;
3633    gint netbios ;   3633    gint netbios ;
3634    gint ipx ;   3634    gint ipx ;
3635    gint vines ;   3635    gint vines ;
3636    gint other ;   3636    gint other ;
3637    gint total ;   3637    gint total ;
3638    gint arp ;   3638    gint arp ;
3639    gint i2c_event ;   3639    gint i2c_event ;
3640    gint i2c_data ;   3640    gint i2c_data ;
3641 };   3641 };
3642 typedef struct _packet_counts packet_counts;   3642 typedef struct _packet_counts packet_counts;
3643 enum __anonenum_packet_char_enc_146 {   3643 enum __anonenum_packet_char_enc_146 {
3644     PACKET_CHAR_ENC_CHAR_ASCII = 0,   3644     PACKET_CHAR_ENC_CHAR_ASCII = 0,
3645     PACKET_CHAR_ENC_CHAR_EBCDIC = 1   3645     PACKET_CHAR_ENC_CHAR_EBCDIC = 1
3646 } ;   3646 } ;
3647 typedef enum __anonenum_packet_char_enc_146 packet_char_enc;   3647 typedef enum __anonenum_packet_char_enc_146 packet_char_enc;
3648 struct dissector_handle;   3648 struct dissector_handle;
3649 struct dissector_handle;   3649 struct dissector_handle;
3650 typedef struct dissector_handle *dissector_handle_t;   3650 typedef struct dissector_handle *dissector_handle_t;
3651 struct dissector_table;   3651 struct dissector_table;
3652 struct dissector_table;   3652 struct dissector_table;
3653 typedef struct dissector_table *dissector_table_t;   3653 typedef struct dissector_table *dissector_table_t;
3654 typedef void (*dissector_t)(tvbuff_t * , packet_info * , proto_tree * );   3654 typedef void (*dissector_t)(tvbuff_t * , packet_info * , proto_tree * );
3655 typedef int (*new_dissector_t)(tvbuff_t * , packet_info * , proto_tree * );   3655 typedef int (*new_dissector_t)(tvbuff_t * , packet_info * , proto_tree * );
3656 typedef gboolean (*heur_dissector_t)(tvbuff_t *tvb , packet_info *pinfo ,   3656 typedef gboolean (*heur_dissector_t)(tvbuff_t *tvb , packet_info *pinfo ,
3657                                      proto_tree *tree );   3657                                      proto_tree *tree );
3658 typedef void (*DATFunc)(gchar const   *table_name , ftenum_t selector_type ,   3658 typedef void (*DATFunc)(gchar const   *table_name , ftenum_t selector_type ,
3659                         gpointer key , gpointer value , gpointer user_data );   3659                         gpointer key , gpointer value , gpointer user_data );
3660 typedef void (*DATFunc_handle)(gchar const   *table_name , gpointer value ,   3660 typedef void (*DATFunc_handle)(gchar const   *table_name , gpointer value ,
3661                                gpointer user_data );   3661                                gpointer user_data );
3662 typedef void (*DATFunc_table)(gchar const   *table_name ,   3662 typedef void (*DATFunc_table)(gchar const   *table_name ,
3663                               gchar const   *ui_name , gpointer user_data );   3663                               gchar const   *ui_name , gpointer user_data );
3664 struct dtbl_entry;   3664 struct dtbl_entry;
3665 typedef struct dtbl_entry dtbl_entry_t;   3665 typedef struct dtbl_entry dtbl_entry_t;
3666 typedef GSList *heur_dissector_list_t;   3666 typedef GSList *heur_dissector_list_t;
3667 struct print_stream;   3667 struct print_stream;
3668 struct print_stream;   3668 struct print_stream;
3669 struct print_stream_ops {   3669 struct print_stream_ops {
3670    gboolean (*print_preamble)(struct print_stream *self , gchar *filename ) ;   3670    gboolean (*print_preamble)(struct print_stream *self , gchar *filename ) ;
3671    gboolean (*print_line)(struct print_stream *self , int indent ,   3671    gboolean (*print_line)(struct print_stream *self , int indent ,
3672                           char const   *line ) ;   3672                           char const   *line ) ;
3673    gboolean (*print_bookmark)(struct print_stream *self , gchar const   *name ,   3673    gboolean (*print_bookmark)(struct print_stream *self , gchar const   *name ,
3674                               gchar const   *title ) ;   3674                               gchar const   *title ) ;
3675    gboolean (*new_page)(struct print_stream *self ) ;   3675    gboolean (*new_page)(struct print_stream *self ) ;
3676    gboolean (*print_finale)(struct print_stream *self ) ;   3676    gboolean (*print_finale)(struct print_stream *self ) ;
3677    gboolean (*destroy)(struct print_stream *self ) ;   3677    gboolean (*destroy)(struct print_stream *self ) ;
3678 };   3678 };
3679 typedef struct print_stream_ops print_stream_ops_t;   3679 typedef struct print_stream_ops print_stream_ops_t;
3680 struct print_stream {   3680 struct print_stream {
3681    print_stream_ops_t const   *ops ;   3681    print_stream_ops_t const   *ops ;
3682    void *data ;   3682    void *data ;
3683 };   3683 };
3684 typedef struct print_stream print_stream_t;   3684 typedef struct print_stream print_stream_t;
3685 enum __anonenum_print_format_e_147 {   3685 enum __anonenum_print_format_e_147 {
3686     PR_FMT_TEXT = 0,   3686     PR_FMT_TEXT = 0,
3687     PR_FMT_PS = 1   3687     PR_FMT_PS = 1
3688 } ;   3688 } ;
3689 typedef enum __anonenum_print_format_e_147 print_format_e;   3689 typedef enum __anonenum_print_format_e_147 print_format_e;
3690 enum __anonenum_print_range_e_148 {   3690 enum __anonenum_print_range_e_148 {
3691     print_range_selected_only = 0,   3691     print_range_selected_only = 0,
3692     print_range_marked_only = 1,   3692     print_range_marked_only = 1,
3693     print_range_all_displayed = 2,   3693     print_range_all_displayed = 2,
3694     print_range_all_captured = 3   3694     print_range_all_captured = 3
3695 } ;   3695 } ;
3696 typedef enum __anonenum_print_range_e_148 print_range_e;   3696 typedef enum __anonenum_print_range_e_148 print_range_e;
3697 enum __anonenum_print_dissections_e_149 {   3697 enum __anonenum_print_dissections_e_149 {
3698     print_dissections_none = 0,   3698     print_dissections_none = 0,
3699     print_dissections_collapsed = 1,   3699     print_dissections_collapsed = 1,
3700     print_dissections_as_displayed = 2,   3700     print_dissections_as_displayed = 2,
3701     print_dissections_expanded = 3   3701     print_dissections_expanded = 3
3702 } ;   3702 } ;
3703 typedef enum __anonenum_print_dissections_e_149 print_dissections_e;   3703 typedef enum __anonenum_print_dissections_e_149 print_dissections_e;
3704 struct __anonstruct_print_args_t_150 {   3704 struct __anonstruct_print_args_t_150 {
3705    print_stream_t *stream ;   3705    print_stream_t *stream ;
3706    print_format_e format ;   3706    print_format_e format ;
3707    gboolean to_file ;   3707    gboolean to_file ;
3708    char *file ;   3708    char *file ;
3709    char *cmd ;   3709    char *cmd ;
3710    packet_range_t range ;   3710    packet_range_t range ;
3711    gboolean print_summary ;   3711    gboolean print_summary ;
3712    print_dissections_e print_dissections ;   3712    print_dissections_e print_dissections ;
3713    gboolean print_hex ;   3713    gboolean print_hex ;
3714    gboolean print_formfeed ;   3714    gboolean print_formfeed ;
3715 };   3715 };
3716 typedef struct __anonstruct_print_args_t_150 print_args_t;   3716 typedef struct __anonstruct_print_args_t_150 print_args_t;
3717 struct _output_fields;   3717 struct _output_fields;
3718 struct _output_fields;   3718 struct _output_fields;
3719 typedef struct _output_fields output_fields_t;   3719 typedef struct _output_fields output_fields_t;
3720 struct _frame_data_sequence;   3720 struct _frame_data_sequence;
3721 typedef struct _frame_data_sequence frame_data_sequence;   3721 typedef struct _frame_data_sequence frame_data_sequence;
3722 enum __anonenum_file_state_151 {   3722 enum __anonenum_file_state_151 {
3723     FILE_CLOSED = 0,   3723     FILE_CLOSED = 0,
3724     FILE_READ_IN_PROGRESS = 1,   3724     FILE_READ_IN_PROGRESS = 1,
3725     FILE_READ_ABORTED = 2,   3725     FILE_READ_ABORTED = 2,
3726     FILE_READ_DONE = 3   3726     FILE_READ_DONE = 3
3727 } ;   3727 } ;
3728 typedef enum __anonenum_file_state_151 file_state;   3728 typedef enum __anonenum_file_state_151 file_state;
3729 enum __anonenum_search_charset_t_152 {   3729 enum __anonenum_search_charset_t_152 {
3730     SCS_ASCII_AND_UNICODE = 0,   3730     SCS_ASCII_AND_UNICODE = 0,
3731     SCS_ASCII = 1,   3731     SCS_ASCII = 1,
3732     SCS_UNICODE = 2   3732     SCS_UNICODE = 2
3733 } ;   3733 } ;
3734 typedef enum __anonenum_search_charset_t_152 search_charset_t;   3734 typedef enum __anonenum_search_charset_t_152 search_charset_t;
3735 enum __anonenum_search_direction_153 {   3735 enum __anonenum_search_direction_153 {
3736     SD_FORWARD = 0,   3736     SD_FORWARD = 0,
3737     SD_BACKWARD = 1   3737     SD_BACKWARD = 1
3738 } ;   3738 } ;
3739 typedef enum __anonenum_search_direction_153 search_direction;   3739 typedef enum __anonenum_search_direction_153 search_direction;
3740 struct _capture_file {   3740 struct _capture_file {
3741    file_state state ;   3741    file_state state ;
3742    gchar *filename ;   3742    gchar *filename ;
3743    gchar *source ;   3743    gchar *source ;
3744    gboolean is_tempfile ;   3744    gboolean is_tempfile ;
3745    gboolean user_saved ;   3745    gboolean user_saved ;
3746    gint64 f_datalen ;   3746    gint64 f_datalen ;
3747    guint16 cd_t ;   3747    guint16 cd_t ;
3748    int lnk_t ;   3748    int lnk_t ;
3749    guint32 count ;   3749    guint32 count ;
3750    guint32 displayed_count ;   3750    guint32 displayed_count ;
3751    guint32 marked_count ;   3751    guint32 marked_count ;
3752    guint32 ignored_count ;   3752    guint32 ignored_count ;
3753    guint32 ref_time_count ;   3753    guint32 ref_time_count ;
3754    gboolean drops_known ;   3754    gboolean drops_known ;
3755    guint32 drops ;   3755    guint32 drops ;
3756    nstime_t elapsed_time ;   3756    nstime_t elapsed_time ;
3757    gboolean has_snap ;   3757    gboolean has_snap ;
3758    int snap ;   3758    int snap ;
3759    wtap *wth ;   3759    wtap *wth ;
3760    dfilter_t *rfcode ;   3760    dfilter_t *rfcode ;
3761    gchar *dfilter ;   3761    gchar *dfilter ;
3762    gboolean redissecting ;   3762    gboolean redissecting ;
3763    gchar *sfilter ;   3763    gchar *sfilter ;
3764    gboolean hex ;   3764    gboolean hex ;
3765    gboolean string ;   3765    gboolean string ;
3766    gboolean summary_data ;   3766    gboolean summary_data ;
3767    gboolean decode_data ;   3767    gboolean decode_data ;
3768    gboolean packet_data ;   3768    gboolean packet_data ;
3769    guint32 search_pos ;   3769    guint32 search_pos ;
3770    gboolean case_type ;   3770    gboolean case_type ;
3771    search_charset_t scs_type ;   3771    search_charset_t scs_type ;
3772    search_direction dir ;   3772    search_direction dir ;
3773    gboolean search_in_progress ;   3773    gboolean search_in_progress ;
3774    union wtap_pseudo_header pseudo_header ;   3774    union wtap_pseudo_header pseudo_header ;
3775    guint8 pd[65535] ;   3775    guint8 pd[65535] ;
3776    frame_data_sequence *frames ;   3776    frame_data_sequence *frames ;
3777    guint32 first_displayed ;   3777    guint32 first_displayed ;
3778    guint32 last_displayed ;   3778    guint32 last_displayed ;
3779    column_info cinfo ;   3779    column_info cinfo ;
3780    frame_data *current_frame ;   3780    frame_data *current_frame ;
3781    gint current_row ;   3781    gint current_row ;
3782    epan_dissect_t *edt ;   3782    epan_dissect_t *edt ;
3783    field_info *finfo_selected ;   3783    field_info *finfo_selected ;
3784 };   3784 };
3785 typedef struct _capture_file capture_file;   3785 typedef struct _capture_file capture_file;
3786 enum __anonenum_cf_status_t_154 {   3786 enum __anonenum_cf_status_t_154 {
3787     CF_OK = 0,   3787     CF_OK = 0,
3788     CF_ERROR = 1   3788     CF_ERROR = 1
3789 } ;   3789 } ;
3790 typedef enum __anonenum_cf_status_t_154 cf_status_t;   3790 typedef enum __anonenum_cf_status_t_154 cf_status_t;
3791 enum __anonenum_cf_read_status_t_155 {   3791 enum __anonenum_cf_read_status_t_155 {
3792     CF_READ_OK = 0,   3792     CF_READ_OK = 0,
3793     CF_READ_ERROR = 1,   3793     CF_READ_ERROR = 1,
3794     CF_READ_ABORTED = 2   3794     CF_READ_ABORTED = 2
3795 } ;   3795 } ;
3796 typedef enum __anonenum_cf_read_status_t_155 cf_read_status_t;   3796 typedef enum __anonenum_cf_read_status_t_155 cf_read_status_t;
3797 enum __anonenum_cf_print_status_t_156 {   3797 enum __anonenum_cf_print_status_t_156 {
3798     CF_PRINT_OK = 0,   3798     CF_PRINT_OK = 0,
3799     CF_PRINT_OPEN_ERROR = 1,   3799     CF_PRINT_OPEN_ERROR = 1,
3800     CF_PRINT_WRITE_ERROR = 2   3800     CF_PRINT_WRITE_ERROR = 2
3801 } ;   3801 } ;
3802 typedef enum __anonenum_cf_print_status_t_156 cf_print_status_t;   3802 typedef enum __anonenum_cf_print_status_t_156 cf_print_status_t;
3803 enum __anonenum_cf_cbs_157 {   3803 enum __anonenum_cf_cbs_157 {
3804     cf_cb_file_closing = 0,   3804     cf_cb_file_closing = 0,
3805     cf_cb_file_closed = 1,   3805     cf_cb_file_closed = 1,
3806     cf_cb_file_read_started = 2,   3806     cf_cb_file_read_started = 2,
3807     cf_cb_file_read_finished = 3,   3807     cf_cb_file_read_finished = 3,
3808     cf_cb_packet_selected = 4,   3808     cf_cb_packet_selected = 4,
3809     cf_cb_packet_unselected = 5,   3809     cf_cb_packet_unselected = 5,
3810     cf_cb_field_unselected = 6,   3810     cf_cb_field_unselected = 6,
3811     cf_cb_file_save_started = 7,   3811     cf_cb_file_save_started = 7,
3812     cf_cb_file_save_finished = 8,   3812     cf_cb_file_save_finished = 8,
3813     cf_cb_file_save_reload_finished = 9,   3813     cf_cb_file_save_reload_finished = 9,
3814     cf_cb_file_save_failed = 10   3814     cf_cb_file_save_failed = 10
3815 } ;   3815 } ;
3816 typedef enum __anonenum_cf_cbs_157 cf_cbs;   3816 typedef enum __anonenum_cf_cbs_157 cf_cbs;
3817 typedef void (*cf_callback_t)(gint event , gpointer data , gpointer user_data );   3817 typedef void (*cf_callback_t)(gint event , gpointer data , gpointer user_data );
3818 struct __anonstruct_match_data_158 {   3818 struct __anonstruct_match_data_158 {
3819    char const   *string ;   3819    char const   *string ;
3820    size_t string_len ;   3820    size_t string_len ;
3821    capture_file *cf ;   3821    capture_file *cf ;
3822    gboolean frame_matched ;   3822    gboolean frame_matched ;
3823    field_info *finfo ;   3823    field_info *finfo ;
3824 };   3824 };
3825 typedef struct __anonstruct_match_data_158 match_data;   3825 typedef struct __anonstruct_match_data_158 match_data;
3826 typedef int bpf_int32;   3826 typedef int bpf_int32;
3827 typedef u_int bpf_u_int32;   3827 typedef u_int bpf_u_int32;
3828 struct bpf_insn;   3828 struct bpf_insn;
3829 struct bpf_program {   3829 struct bpf_program {
3830    u_int bf_len ;   3830    u_int bf_len ;
3831    struct bpf_insn *bf_insns ;   3831    struct bpf_insn *bf_insns ;
3832 };   3832 };
3833 struct bpf_version {   3833 struct bpf_version {
3834    u_short bv_major ;   3834    u_short bv_major ;
3835    u_short bv_minor ;   3835    u_short bv_minor ;
3836 };   3836 };
3837 struct bpf_insn {   3837 struct bpf_insn {
3838    u_short code ;   3838    u_short code ;
3839    u_char jt ;   3839    u_char jt ;
3840    u_char jf ;   3840    u_char jf ;
3841    bpf_u_int32 k ;   3841    bpf_u_int32 k ;
3842 };   3842 };
3843 struct pcap;   3843 struct pcap;
3844 typedef struct pcap pcap_t;   3844 typedef struct pcap pcap_t;
3845 struct pcap_dumper;   3845 struct pcap_dumper;
3846 typedef struct pcap_dumper pcap_dumper_t;   3846 typedef struct pcap_dumper pcap_dumper_t;
3847 struct pcap_if;   3847 struct pcap_if;
3848 typedef struct pcap_if pcap_if_t;   3848 typedef struct pcap_if pcap_if_t;
3849 struct pcap_addr;   3849 struct pcap_addr;
3850 typedef struct pcap_addr pcap_addr_t;   3850 typedef struct pcap_addr pcap_addr_t;
3851 struct pcap_file_header {   3851 struct pcap_file_header {
3852    bpf_u_int32 magic ;   3852    bpf_u_int32 magic ;
3853    u_short version_major ;   3853    u_short version_major ;
3854    u_short version_minor ;   3854    u_short version_minor ;
3855    bpf_int32 thiszone ;   3855    bpf_int32 thiszone ;
3856    bpf_u_int32 sigfigs ;   3856    bpf_u_int32 sigfigs ;
3857    bpf_u_int32 snaplen ;   3857    bpf_u_int32 snaplen ;
3858    bpf_u_int32 linktype ;   3858    bpf_u_int32 linktype ;
3859 };   3859 };
3860 enum __anonenum_pcap_direction_t_159 {   3860 enum __anonenum_pcap_direction_t_159 {
3861     PCAP_D_INOUT = 0,   3861     PCAP_D_INOUT = 0,
3862     PCAP_D_IN = 1,   3862     PCAP_D_IN = 1,
3863     PCAP_D_OUT = 2   3863     PCAP_D_OUT = 2
3864 } ;   3864 } ;
3865 typedef enum __anonenum_pcap_direction_t_159 pcap_direction_t;   3865 typedef enum __anonenum_pcap_direction_t_159 pcap_direction_t;
3866 struct pcap_pkthdr {   3866 struct pcap_pkthdr {
3867    struct timeval ts ;   3867    struct timeval ts ;
3868    bpf_u_int32 caplen ;   3868    bpf_u_int32 caplen ;
3869    bpf_u_int32 len ;   3869    bpf_u_int32 len ;
3870 };   3870 };
3871 struct pcap_stat {   3871 struct pcap_stat {
3872    u_int ps_recv ;   3872    u_int ps_recv ;
3873    u_int ps_drop ;   3873    u_int ps_drop ;
3874    u_int ps_ifdrop ;   3874    u_int ps_ifdrop ;
3875 };   3875 };
3876 struct pcap_if {   3876 struct pcap_if {
3877    struct pcap_if *next ;   3877    struct pcap_if *next ;
3878    char *name ;   3878    char *name ;
3879    char *description ;   3879    char *description ;
3880    struct pcap_addr *addresses ;   3880    struct pcap_addr *addresses ;
3881    bpf_u_int32 flags ;   3881    bpf_u_int32 flags ;
3882 };   3882 };
3883 struct pcap_addr {   3883 struct pcap_addr {
3884    struct pcap_addr *next ;   3884    struct pcap_addr *next ;
3885    struct sockaddr *addr ;   3885    struct sockaddr *addr ;
3886    struct sockaddr *netmask ;   3886    struct sockaddr *netmask ;
3887    struct sockaddr *broadaddr ;   3887    struct sockaddr *broadaddr ;
3888    struct sockaddr *dstaddr ;   3888    struct sockaddr *dstaddr ;
3889 };   3889 };
3890 typedef void (*pcap_handler)(u_char * , struct pcap_pkthdr  const  * ,   3890 typedef void (*pcap_handler)(u_char * , struct pcap_pkthdr  const  * ,
3891                              u_char const   * );   3891                              u_char const   * );
3892 struct sockaddr_un {   3892 struct sockaddr_un {
3893    sa_family_t sun_family ;   3893    sa_family_t sun_family ;
3894    char sun_path[108] ;   3894    char sun_path[108] ;
3895 };   3895 };
3896 struct __anonstruct_if_info_t_160 {   3896 struct __anonstruct_if_info_t_160 {
3897    char *name ;   3897    char *name ;
3898    char *description ;   3898    char *description ;
3899    GSList *addrs ;   3899    GSList *addrs ;
3900    gboolean loopback ;   3900    gboolean loopback ;
3901 };   3901 };
3902 typedef struct __anonstruct_if_info_t_160 if_info_t;   3902 typedef struct __anonstruct_if_info_t_160 if_info_t;
3903 enum __anonenum_if_address_type_161 {   3903 enum __anonenum_if_address_type_161 {
3904     IF_AT_IPv4 = 0,   3904     IF_AT_IPv4 = 0,
3905     IF_AT_IPv6 = 1   3905     IF_AT_IPv6 = 1
3906 } ;   3906 } ;
3907 typedef enum __anonenum_if_address_type_161 if_address_type;   3907 typedef enum __anonenum_if_address_type_161 if_address_type;
3908 union __anonunion_addr_163 {   3908 union __anonunion_addr_163 {
3909    guint32 ip4_addr ;   3909    guint32 ip4_addr ;
3910    guint8 ip6_addr[16] ;   3910    guint8 ip6_addr[16] ;
3911 };   3911 };
3912 struct __anonstruct_if_addr_t_162 {   3912 struct __anonstruct_if_addr_t_162 {
3913    if_address_type ifat_type ;   3913    if_address_type ifat_type ;
3914    union __anonunion_addr_163 addr ;   3914    union __anonunion_addr_163 addr ;
3915 };   3915 };
3916 typedef struct __anonstruct_if_addr_t_162 if_addr_t;   3916 typedef struct __anonstruct_if_addr_t_162 if_addr_t;
3917 struct __anonstruct_if_capabilities_t_164 {   3917 struct __anonstruct_if_capabilities_t_164 {
3918    gboolean can_set_rfmon ;   3918    gboolean can_set_rfmon ;
3919    GList *data_link_types ;   3919    GList *data_link_types ;
3920 };   3920 };
3921 typedef struct __anonstruct_if_capabilities_t_164 if_capabilities_t;   3921 typedef struct __anonstruct_if_capabilities_t_164 if_capabilities_t;
3922 struct __anonstruct_data_link_info_t_165 {   3922 struct __anonstruct_data_link_info_t_165 {
3923    int dlt ;   3923    int dlt ;
3924    char *name ;   3924    char *name ;
3925    char *description ;   3925    char *description ;
3926 };   3926 };
3927 typedef struct __anonstruct_data_link_info_t_165 data_link_info_t;   3927 typedef struct __anonstruct_data_link_info_t_165 data_link_info_t;
3928 enum __anonenum_capture_state_166 {   3928 enum __anonenum_capture_state_166 {
3929     CAPTURE_STOPPED = 0,   3929     CAPTURE_STOPPED = 0,
3930     CAPTURE_PREPARING = 1,   3930     CAPTURE_PREPARING = 1,
3931     CAPTURE_RUNNING = 2   3931     CAPTURE_RUNNING = 2
3932 } ;   3932 } ;
3933 typedef enum __anonenum_capture_state_166 capture_state;   3933 typedef enum __anonenum_capture_state_166 capture_state;
3934 struct interface_options_tag {   3934 struct interface_options_tag {
3935    gchar *name ;   3935    gchar *name ;
3936    gchar *descr ;   3936    gchar *descr ;
3937    gchar *cfilter ;   3937    gchar *cfilter ;
3938    int snaplen ;   3938    int snaplen ;
3939    int linktype ;   3939    int linktype ;
3940    gboolean promisc_mode ;   3940    gboolean promisc_mode ;
3941    int buffer_size ;   3941    int buffer_size ;
3942    gboolean monitor_mode ;   3942    gboolean monitor_mode ;
3943 };   3943 };
3944 typedef struct interface_options_tag interface_options;   3944 typedef struct interface_options_tag interface_options;
3945 struct capture_options_tag {   3945 struct capture_options_tag {
3946    void *cf ;   3946    void *cf ;
3947    gboolean has_cfilter ;   3947    gboolean has_cfilter ;
3948    gchar *cfilter ;   3948    gchar *cfilter ;
3949    gchar *iface ;   3949    gchar *iface ;
3950    gchar *iface_descr ;   3950    gchar *iface_descr ;
3951    GArray *ifaces ;   3951    GArray *ifaces ;
3952    gint number_of_ifaces ;   3952    gint number_of_ifaces ;
3953    interface_options default_options ;   3953    interface_options default_options ;
3954    int buffer_size ;   3954    int buffer_size ;
3955    gboolean has_snaplen ;   3955    gboolean has_snaplen ;
3956    int snaplen ;   3956    int snaplen ;
3957    gboolean promisc_mode ;   3957    gboolean promisc_mode ;
3958    int linktype ;   3958    int linktype ;
3959    gboolean monitor_mode ;   3959    gboolean monitor_mode ;
3960    gboolean saving_to_file ;   3960    gboolean saving_to_file ;
3961    gchar *save_file ;   3961    gchar *save_file ;
3962    gboolean group_read_access ;   3962    gboolean group_read_access ;
3963    gboolean use_pcapng ;   3963    gboolean use_pcapng ;
3964    gboolean real_time_mode ;   3964    gboolean real_time_mode ;
3965    gboolean show_info ;   3965    gboolean show_info ;
3966    gboolean quit_after_cap ;   3966    gboolean quit_after_cap ;
3967    gboolean restart ;   3967    gboolean restart ;
3968    gboolean multi_files_on ;   3968    gboolean multi_files_on ;
3969    gboolean has_file_duration ;   3969    gboolean has_file_duration ;
3970    gint32 file_duration ;   3970    gint32 file_duration ;
3971    gboolean has_ring_num_files ;   3971    gboolean has_ring_num_files ;
3972    guint32 ring_num_files ;   3972    guint32 ring_num_files ;
3973    gboolean has_autostop_files ;   3973    gboolean has_autostop_files ;
3974    gint32 autostop_files ;   3974    gint32 autostop_files ;
3975    gboolean has_autostop_packets ;   3975    gboolean has_autostop_packets ;
3976    int autostop_packets ;   3976    int autostop_packets ;
3977    gboolean has_autostop_filesize ;   3977    gboolean has_autostop_filesize ;
3978    gint32 autostop_filesize ;   3978    gint32 autostop_filesize ;
3979    gboolean has_autostop_duration ;   3979    gboolean has_autostop_duration ;
3980    gint32 autostop_duration ;   3980    gint32 autostop_duration ;
3981    int fork_child ;   3981    int fork_child ;
3982    int fork_child_status ;   3982    int fork_child_status ;
3983    capture_state state ;   3983    capture_state state ;
3984    gboolean output_to_pipe ;   3984    gboolean output_to_pipe ;
3985    uid_t owner ;   3985    uid_t owner ;
3986    gid_t group ;   3986    gid_t group ;
3987 };   3987 };
3988 typedef struct capture_options_tag capture_options;   3988 typedef struct capture_options_tag capture_options;
3989 struct condition;   3989 struct condition;
3990 typedef struct condition condition;   3990 typedef struct condition condition;
3991 typedef gboolean (*_cnd_eval)(condition * , va_list  );   3991 typedef gboolean (*_cnd_eval)(condition * , va_list  );
3992 typedef void (*_cnd_reset)(condition * );   3992 typedef void (*_cnd_reset)(condition * );
3993 typedef condition *(*_cnd_constr)(condition * , va_list  );   3993 typedef condition *(*_cnd_constr)(condition * , va_list  );
3994 typedef void (*_cnd_destr)(condition * );   3994 typedef void (*_cnd_destr)(condition * );
3995 struct pcap_hdr {   3995 struct pcap_hdr {
3996    guint16 version_major ;   3996    guint16 version_major ;
3997    guint16 version_minor ;   3997    guint16 version_minor ;
3998    gint32 thiszone ;   3998    gint32 thiszone ;
3999    guint32 sigfigs ;   3999    guint32 sigfigs ;
4000    guint32 snaplen ;   4000    guint32 snaplen ;
4001    guint32 network ;   4001    guint32 network ;
4002 };   4002 };
4003 struct pcaprec_hdr {   4003 struct pcaprec_hdr {
4004    guint32 ts_sec ;   4004    guint32 ts_sec ;
4005    guint32 ts_usec ;   4005    guint32 ts_usec ;
4006    guint32 incl_len ;   4006    guint32 incl_len ;
4007    guint32 orig_len ;   4007    guint32 orig_len ;
4008 };   4008 };
4009 struct pcaprec_modified_hdr {   4009 struct pcaprec_modified_hdr {
4010    struct pcaprec_hdr hdr ;   4010    struct pcaprec_hdr hdr ;
4011    guint32 ifindex ;   4011    guint32 ifindex ;
4012    guint16 protocol ;   4012    guint16 protocol ;
4013    guint8 pkt_type ;   4013    guint8 pkt_type ;
4014    guint8 pad ;   4014    guint8 pad ;
4015 };   4015 };
4016 struct pcaprec_ss990915_hdr {   4016 struct pcaprec_ss990915_hdr {
4017    struct pcaprec_hdr hdr ;   4017    struct pcaprec_hdr hdr ;
4018    guint32 ifindex ;   4018    guint32 ifindex ;
4019    guint16 protocol ;   4019    guint16 protocol ;
4020    guint8 pkt_type ;   4020    guint8 pkt_type ;
4021    guint8 cpu1 ;   4021    guint8 cpu1 ;
4022    guint8 cpu2 ;   4022    guint8 cpu2 ;
4023    guint8 pad[3] ;   4023    guint8 pad[3] ;
4024 };   4024 };
4025 struct pcaprec_nokia_hdr {   4025 struct pcaprec_nokia_hdr {
4026    struct pcaprec_hdr hdr ;   4026    struct pcaprec_hdr hdr ;
4027    guint8 stuff[4] ;   4027    guint8 stuff[4] ;
4028 };   4028 };
4029 enum __anonenum_initfilter_status_t_167 {   4029 enum __anonenum_initfilter_status_t_167 {
4030     INITFILTER_NO_ERROR = 0,   4030     INITFILTER_NO_ERROR = 0,
4031     INITFILTER_BAD_FILTER = 1,   4031     INITFILTER_BAD_FILTER = 1,
4032     INITFILTER_OTHER_ERROR = 2   4032     INITFILTER_OTHER_ERROR = 2
4033 } ;   4033 } ;
4034 typedef enum __anonenum_initfilter_status_t_167 initfilter_status_t;   4034 typedef enum __anonenum_initfilter_status_t_167 initfilter_status_t;
4035 enum __anonenum_cap_pipe_state_168 {   4035 enum __anonenum_cap_pipe_state_168 {
4036     STATE_EXPECT_REC_HDR = 0,   4036     STATE_EXPECT_REC_HDR = 0,
4037     STATE_READ_REC_HDR = 1,   4037     STATE_READ_REC_HDR = 1,
4038     STATE_EXPECT_DATA = 2,   4038     STATE_EXPECT_DATA = 2,
4039     STATE_READ_DATA = 3   4039     STATE_READ_DATA = 3
4040 } ;   4040 } ;
4041 enum __anonenum_cap_pipe_err_169 {   4041 enum __anonenum_cap_pipe_err_169 {
4042     PIPOK = 0,   4042     PIPOK = 0,
4043     PIPEOF = 1,   4043     PIPEOF = 1,
4044     PIPERR = 2,   4044     PIPERR = 2,
4045     PIPNEXIST = 3   4045     PIPNEXIST = 3
4046 } ;   4046 } ;
4047 struct _pcap_options {   4047 struct _pcap_options {
4048    pcap_t *pcap_h ;   4048    pcap_t *pcap_h ;
4049    int pcap_fd ;   4049    int pcap_fd ;
4050    gboolean pcap_err ;   4050    gboolean pcap_err ;
4051    guint interface_id ;   4051    guint interface_id ;
4052    GThread *tid ;   4052    GThread *tid ;
4053    int snaplen ;   4053    int snaplen ;
4054    int linktype ;   4054    int linktype ;
4055    gboolean from_cap_pipe ;   4055    gboolean from_cap_pipe ;
4056    struct pcap_hdr cap_pipe_hdr ;   4056    struct pcap_hdr cap_pipe_hdr ;
4057    struct pcaprec_modified_hdr cap_pipe_rechdr ;   4057    struct pcaprec_modified_hdr cap_pipe_rechdr ;
4058    int cap_pipe_fd ;   4058    int cap_pipe_fd ;
4059    gboolean cap_pipe_modified ;   4059    gboolean cap_pipe_modified ;
4060    gboolean cap_pipe_byte_swapped ;   4060    gboolean cap_pipe_byte_swapped ;
4061    int cap_pipe_bytes_to_read ;   4061    int cap_pipe_bytes_to_read ;
4062    int cap_pipe_bytes_read ;   4062    int cap_pipe_bytes_read ;
4063    enum __anonenum_cap_pipe_state_168 cap_pipe_state ;   4063    enum __anonenum_cap_pipe_state_168 cap_pipe_state ;
4064    enum __anonenum_cap_pipe_err_169 cap_pipe_err ;   4064    enum __anonenum_cap_pipe_err_169 cap_pipe_err ;
4065 };   4065 };
4066 typedef struct _pcap_options pcap_options;   4066 typedef struct _pcap_options pcap_options;
4067 struct _loop_data {   4067 struct _loop_data {
4068    gboolean go ;   4068    gboolean go ;
4069    int err ;   4069    int err ;
4070    gint packet_count ;   4070    gint packet_count ;
4071    gint packet_max ;   4071    gint packet_max ;
4072    gint inpkts_to_sync_pipe ;   4072    gint inpkts_to_sync_pipe ;
4073    GArray *pcaps ;   4073    GArray *pcaps ;
4074    FILE *pdh ;   4074    FILE *pdh ;
4075    int save_file_fd ;   4075    int save_file_fd ;
4076    long bytes_written ;   4076    long bytes_written ;
4077    guint32 autostop_files ;   4077    guint32 autostop_files ;
4078 };   4078 };
4079 typedef struct _loop_data loop_data;   4079 typedef struct _loop_data loop_data;
4080 struct __anonstruct_if_stat_t_170 {   4080 struct __anonstruct_if_stat_t_170 {
4081    char *name ;   4081    char *name ;
4082    pcap_t *pch ;   4082    pcap_t *pch ;
4083 };   4083 };
4084 typedef struct __anonstruct_if_stat_t_170 if_stat_t;   4084 typedef struct __anonstruct_if_stat_t_170 if_stat_t;
4085 enum __anonenum_result_171 {   4085 enum __anonenum_result_171 {
4086     PD_REC_HDR_READ = 0,   4086     PD_REC_HDR_READ = 0,
4087     PD_DATA_READ = 1,   4087     PD_DATA_READ = 1,
4088     PD_PIPE_EOF = 2,   4088     PD_PIPE_EOF = 2,
4089     PD_PIPE_ERR = 3,   4089     PD_PIPE_ERR = 3,
4090     PD_ERR = 4   4090     PD_ERR = 4
4091 } ;   4091 } ;
4092 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   4092 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
4093 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   4093 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
4094 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   4094 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
4095 extern int __underflow(_IO_FILE * ) ;   4095 extern int __underflow(_IO_FILE * ) ;
4096 extern int __uflow(_IO_FILE * ) ;   4096 extern int __uflow(_IO_FILE * ) ;
4097 extern int __overflow(_IO_FILE * , int  ) ;   4097 extern int __overflow(_IO_FILE * , int  ) ;
4098 extern int _IO_getc(_IO_FILE *__fp ) ;   4098 extern int _IO_getc(_IO_FILE *__fp ) ;
4099 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   4099 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
4100 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   4100 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
4101 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   4101 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
4102 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   4102 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
4103 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   4103 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
4104 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   4104 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
4105 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   4105 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
4106 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   4106 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
4107                        __gnuc_va_list  , int * __restrict   ) ;   4107                        __gnuc_va_list  , int * __restrict   ) ;
4108 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   4108 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
4109                         __gnuc_va_list  ) ;   4109                         __gnuc_va_list  ) ;
4110 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   4110 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
4111 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   4111 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
4112 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   4112 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
4113 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   4113 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
4114 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   4114 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
4115 extern struct _IO_FILE *stdin ;   4115 extern struct _IO_FILE *stdin ;
4116 extern struct _IO_FILE *stdout ;   4116 extern struct _IO_FILE *stdout ;
4117 extern struct _IO_FILE *stderr ;   4117 extern struct _IO_FILE *stderr ;
4118 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   4118 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
4119 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   4119 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
4120                                                 char const   *__new ) ;   4120                                                 char const   *__new ) ;
4121 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   4121 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
4122                                                   char const   *__old ,   4122                                                   char const   *__old ,
4123                                                   int __newfd ,   4123                                                   int __newfd ,
4124                                                   char const   *__new ) ;   4124                                                   char const   *__new ) ;
4125 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   4125 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
4126 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   4126 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
4127 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   4127 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
4128 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   4128 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
4129                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   4129                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
4130 extern int fclose(FILE *__stream ) ;   4130 extern int fclose(FILE *__stream ) ;
4131 extern int fflush(FILE *__stream ) ;   4131 extern int fflush(FILE *__stream ) ;
4132 extern int fflush_unlocked(FILE *__stream ) ;   4132 extern int fflush_unlocked(FILE *__stream ) ;
4133 extern FILE *fopen(char const   * __restrict  __filename ,   4133 extern FILE *fopen(char const   * __restrict  __filename ,
4134                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   4134                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
4135 extern FILE *freopen(char const   * __restrict  __filename ,   4135 extern FILE *freopen(char const   * __restrict  __filename ,
4136                      char const   * __restrict  __modes ,   4136                      char const   * __restrict  __modes ,
4137                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   4137                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
4138 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   4138 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
4139                                                   char const   *__modes ) ;   4139                                                   char const   *__modes ) ;
4140 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   4140 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
4141                                                     char const   *__modes ) ;   4141                                                     char const   *__modes ) ;
4142 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   4142 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
4143                                                           size_t *__sizeloc ) ;   4143                                                           size_t *__sizeloc ) ;
4144 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   4144 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
4145                                                  char * __restrict  __buf ) ;   4145                                                  char * __restrict  __buf ) ;
4146 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   4146 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
4147                                                  char * __restrict  __buf ,   4147                                                  char * __restrict  __buf ,
4148                                                  int __modes , size_t __n ) ;   4148                                                  int __modes , size_t __n ) ;
4149 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   4149 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
4150                                                     char * __restrict  __buf ,   4150                                                     char * __restrict  __buf ,
4151                                                     size_t __size ) ;   4151                                                     size_t __size ) ;
4152 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   4152 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
4153 extern int fprintf(FILE * __restrict  __stream ,   4153 extern int fprintf(FILE * __restrict  __stream ,
4154                    char const   * __restrict  __format  , ...) ;   4154                    char const   * __restrict  __format  , ...) ;
4155 extern int printf(char const   * __restrict  __format  , ...) ;   4155 extern int printf(char const   * __restrict  __format  , ...) ;
4156 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   4156 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
4157                                                  char const   * __restrict  __format   4157                                                  char const   * __restrict  __format
4158                                                  , ...) ;   4158                                                  , ...) ;
4159 extern int vfprintf(FILE * __restrict  __s ,   4159 extern int vfprintf(FILE * __restrict  __s ,
4160                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   4160                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
4161 __inline extern int vprintf(char const   * __restrict  __fmt ,   4161 __inline extern int vprintf(char const   * __restrict  __fmt ,
4162                             __gnuc_va_list __arg ) ;   4162                             __gnuc_va_list __arg ) ;
4163 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   4163 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
4164                                                   char const   * __restrict  __format ,   4164                                                   char const   * __restrict  __format ,
4165                                                   __gnuc_va_list __arg ) ;   4165                                                   __gnuc_va_list __arg ) ;
4166 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   4166 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
4167                                                                              size_t __maxlen ,   4167                                                                              size_t __maxlen ,
4168                                                                              char const   * __restrict  __format   4168                                                                              char const   * __restrict  __format
4169                                                                              , ...) ;   4169                                                                              , ...) ;
4170 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   4170 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
4171                                                                               size_t __maxlen ,   4171                                                                               size_t __maxlen ,
4172                                                                               char const   * __restrict  __format ,   4172                                                                               char const   * __restrict  __format ,
4173                                                                               __gnuc_va_list __arg ) ;   4173                                                                               __gnuc_va_list __arg ) ;
4174 extern int ( /* format attribute */  vdprintf)(int __fd ,   4174 extern int ( /* format attribute */  vdprintf)(int __fd ,
4175                                                char const   * __restrict  __fmt ,   4175                                                char const   * __restrict  __fmt ,
4176                                                __gnuc_va_list __arg ) ;   4176                                                __gnuc_va_list __arg ) ;
4177 extern int ( /* format attribute */  dprintf)(int __fd ,   4177 extern int ( /* format attribute */  dprintf)(int __fd ,
4178                                               char const   * __restrict  __fmt   4178                                               char const   * __restrict  __fmt
4179                                               , ...) ;   4179                                               , ...) ;
4180 extern int fscanf(FILE * __restrict  __stream ,   4180 extern int fscanf(FILE * __restrict  __stream ,
4181                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   4181                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
4182 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   4182 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
4183 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   4183 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
4184                                                 char const   * __restrict  __format   4184                                                 char const   * __restrict  __format
4185                                                 , ...)  __asm__("__isoc99_sscanf")  ;   4185                                                 , ...)  __asm__("__isoc99_sscanf")  ;
4186 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   4186 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
4187                                               char const   * __restrict  __format ,   4187                                               char const   * __restrict  __format ,
4188                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   4188                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
4189 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   4189 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
4190                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   4190                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
4191 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   4191 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
4192                                                                             char const   * __restrict  __format ,   4192                                                                             char const   * __restrict  __format ,
4193                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   4193                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
4194 extern int fgetc(FILE *__stream ) ;   4194 extern int fgetc(FILE *__stream ) ;
4195 extern int getc(FILE *__stream ) ;   4195 extern int getc(FILE *__stream ) ;
4196 __inline extern int getchar(void) ;   4196 __inline extern int getchar(void) ;
4197 __inline extern int getc_unlocked(FILE *__fp ) ;   4197 __inline extern int getc_unlocked(FILE *__fp ) ;
4198 __inline extern int getchar_unlocked(void) ;   4198 __inline extern int getchar_unlocked(void) ;
4199 __inline extern int fgetc_unlocked(FILE *__fp ) ;   4199 __inline extern int fgetc_unlocked(FILE *__fp ) ;
4200 extern int fputc(int __c , FILE *__stream ) ;   4200 extern int fputc(int __c , FILE *__stream ) ;
4201 extern int putc(int __c , FILE *__stream ) ;   4201 extern int putc(int __c , FILE *__stream ) ;
4202 __inline extern int putchar(int __c ) ;   4202 __inline extern int putchar(int __c ) ;
4203 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;   4203 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
4204 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;   4204 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;
4205 __inline extern int putchar_unlocked(int __c ) ;   4205 __inline extern int putchar_unlocked(int __c ) ;
4206 extern int getw(FILE *__stream ) ;   4206 extern int getw(FILE *__stream ) ;
4207 extern int putw(int __w , FILE *__stream ) ;   4207 extern int putw(int __w , FILE *__stream ) ;
4208 extern char *fgets(char * __restrict  __s , int __n ,   4208 extern char *fgets(char * __restrict  __s , int __n ,
4209                    FILE * __restrict  __stream ) ;   4209                    FILE * __restrict  __stream ) ;
4210 extern char *gets(char *__s ) ;   4210 extern char *gets(char *__s ) ;
4211 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   4211 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
4212                             size_t * __restrict  __n , int __delimiter ,   4212                             size_t * __restrict  __n , int __delimiter ,
4213                             FILE * __restrict  __stream ) ;   4213                             FILE * __restrict  __stream ) ;
4214 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   4214 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
4215                           size_t * __restrict  __n , int __delimiter ,   4215                           size_t * __restrict  __n , int __delimiter ,
4216                           FILE * __restrict  __stream ) ;   4216                           FILE * __restrict  __stream ) ;
4217 extern __ssize_t getline(char ** __restrict  __lineptr ,   4217 extern __ssize_t getline(char ** __restrict  __lineptr ,
4218                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   4218                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
4219 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   4219 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
4220 extern int puts(char const   *__s ) ;   4220 extern int puts(char const   *__s ) ;
4221 extern int ungetc(int __c , FILE *__stream ) ;   4221 extern int ungetc(int __c , FILE *__stream ) ;
4222 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   4222 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
4223                     FILE * __restrict  __stream ) ;   4223                     FILE * __restrict  __stream ) ;
4224 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   4224 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
4225                      size_t __n , FILE * __restrict  __s ) ;   4225                      size_t __n , FILE * __restrict  __s ) ;
4226 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   4226 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
4227                              size_t __n , FILE * __restrict  __stream ) ;   4227                              size_t __n , FILE * __restrict  __stream ) ;
4228 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   4228 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
4229                               size_t __n , FILE * __restrict  __stream ) ;   4229                               size_t __n , FILE * __restrict  __stream ) ;
4230 extern int fseek(FILE *__stream , long __off , int __whence ) ;   4230 extern int fseek(FILE *__stream , long __off , int __whence ) ;
4231 extern long ftell(FILE *__stream ) ;   4231 extern long ftell(FILE *__stream ) ;
4232 extern void rewind(FILE *__stream ) ;   4232 extern void rewind(FILE *__stream ) ;
4233 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   4233 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
4234 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   4234 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
4235 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   4235 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
4236 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   4236 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
4237 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   4237 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
4238 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   4238 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
4239 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   4239 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
4240 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   4240 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
4241 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   4241 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
4242 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   4242 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
4243 extern void perror(char const   *__s ) ;   4243 extern void perror(char const   *__s ) ;
4244 extern int sys_nerr ;   4244 extern int sys_nerr ;
4245 extern char const   * const  sys_errlist[] ;   4245 extern char const   * const  sys_errlist[] ;
4246 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   4246 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
4247 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   4247 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
4248 extern FILE *popen(char const   *__command , char const   *__modes ) ;   4248 extern FILE *popen(char const   *__command , char const   *__modes ) ;
4249 extern int pclose(FILE *__stream ) ;   4249 extern int pclose(FILE *__stream ) ;
4250 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   4250 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
4251 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   4251 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
4252 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   4252 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
4253 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   4253 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
4254 __inline extern int vprintf(char const   * __restrict  __fmt ,   4254 __inline extern int vprintf(char const   * __restrict  __fmt ,
4255                             __gnuc_va_list __arg )   4255                             __gnuc_va_list __arg )
4256 {   4256 {
4257   int tmp ;   4257   int tmp ;
4258     4258  
4259   {   4259   {
4260   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   4260   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
4261   return (tmp);   4261   return (tmp);
4262 }   4262 }
4263 }   4263 }
4264 __inline extern int getchar(void)   4264 __inline extern int getchar(void)
4265 {   4265 {
4266   int tmp ;   4266   int tmp ;
4267     4267  
4268   {   4268   {
4269   tmp = _IO_getc(stdin);   4269   tmp = _IO_getc(stdin);
4270   return (tmp);   4270   return (tmp);
4271 }   4271 }
4272 }   4272 }
4273 __inline extern int fgetc_unlocked(FILE *__fp )   4273 __inline extern int fgetc_unlocked(FILE *__fp )
4274 {   4274 {
4275   long tmp ;   4275   long tmp ;
4276   int tmp___0 ;   4276   int tmp___0 ;
4277   char *tmp___1 ;   4277   char *tmp___1 ;
4278   int tmp___2 ;   4278   int tmp___2 ;
4279   long tmp___3 ;   4279   long tmp___3 ;
4280     4280  
4281   {   4281   {
4282   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   4282   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
4283                              0L);   4283                              0L);
4284   if (tmp___3) {   4284   if (tmp___3) {
4285     tmp___0 = __uflow(__fp);   4285     tmp___0 = __uflow(__fp);
4286     tmp___2 = tmp___0;   4286     tmp___2 = tmp___0;
4287   } else {   4287   } else {
4288     tmp___1 = __fp->_IO_read_ptr;   4288     tmp___1 = __fp->_IO_read_ptr;
4289     (__fp->_IO_read_ptr) ++;   4289     (__fp->_IO_read_ptr) ++;
4290     tmp___2 = (int )*((unsigned char *)tmp___1);   4290     tmp___2 = (int )*((unsigned char *)tmp___1);
4291   }   4291   }
4292   return (tmp___2);   4292   return (tmp___2);
4293 }   4293 }
4294 }   4294 }
4295 __inline extern int getc_unlocked(FILE *__fp )   4295 __inline extern int getc_unlocked(FILE *__fp )
4296 {   4296 {
4297   long tmp ;   4297   long tmp ;
4298   int tmp___0 ;   4298   int tmp___0 ;
4299   char *tmp___1 ;   4299   char *tmp___1 ;
4300   int tmp___2 ;   4300   int tmp___2 ;
4301   long tmp___3 ;   4301   long tmp___3 ;
4302     4302  
4303   {   4303   {
4304   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   4304   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
4305                              0L);   4305                              0L);
4306   if (tmp___3) {   4306   if (tmp___3) {
4307     tmp___0 = __uflow(__fp);   4307     tmp___0 = __uflow(__fp);
4308     tmp___2 = tmp___0;   4308     tmp___2 = tmp___0;
4309   } else {   4309   } else {
4310     tmp___1 = __fp->_IO_read_ptr;   4310     tmp___1 = __fp->_IO_read_ptr;
4311     (__fp->_IO_read_ptr) ++;   4311     (__fp->_IO_read_ptr) ++;
4312     tmp___2 = (int )*((unsigned char *)tmp___1);   4312     tmp___2 = (int )*((unsigned char *)tmp___1);
4313   }   4313   }
4314   return (tmp___2);   4314   return (tmp___2);
4315 }   4315 }
4316 }   4316 }
4317 __inline extern int getchar_unlocked(void)   4317 __inline extern int getchar_unlocked(void)
4318 {   4318 {
4319   long tmp ;   4319   long tmp ;
4320   int tmp___0 ;   4320   int tmp___0 ;
4321   char *tmp___1 ;   4321   char *tmp___1 ;
4322   int tmp___2 ;   4322   int tmp___2 ;
4323   long tmp___3 ;   4323   long tmp___3 ;
4324     4324  
4325   {   4325   {
4326   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   4326   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
4327                              0L);   4327                              0L);
4328   if (tmp___3) {   4328   if (tmp___3) {
4329     tmp___0 = __uflow(stdin);   4329     tmp___0 = __uflow(stdin);
4330     tmp___2 = tmp___0;   4330     tmp___2 = tmp___0;
4331   } else {   4331   } else {
4332     tmp___1 = stdin->_IO_read_ptr;   4332     tmp___1 = stdin->_IO_read_ptr;
4333     (stdin->_IO_read_ptr) ++;   4333     (stdin->_IO_read_ptr) ++;
4334     tmp___2 = (int )*((unsigned char *)tmp___1);   4334     tmp___2 = (int )*((unsigned char *)tmp___1);
4335   }   4335   }
4336   return (tmp___2);   4336   return (tmp___2);
4337 }   4337 }
4338 }   4338 }
4339 __inline extern int putchar(int __c )   4339 __inline extern int putchar(int __c )
4340 {   4340 {
4341   int tmp ;   4341   int tmp ;
4342     4342  
4343   {   4343   {
4344   tmp = _IO_putc(__c, stdout);   4344   tmp = _IO_putc(__c, stdout);
4345   return (tmp);   4345   return (tmp);
4346 }   4346 }
4347 }   4347 }
4348 __inline extern int fputc_unlocked(int __c , FILE *__stream )   4348 __inline extern int fputc_unlocked(int __c , FILE *__stream )
4349 {   4349 {
4350   long tmp ;   4350   long tmp ;
4351   int tmp___0 ;   4351   int tmp___0 ;
4352   char *tmp___1 ;   4352   char *tmp___1 ;
4353   char tmp___2 ;   4353   char tmp___2 ;
4354   int tmp___3 ;   4354   int tmp___3 ;
4355   long tmp___4 ;   4355   long tmp___4 ;
4356     4356  
4357   {   4357   {
4358   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   4358   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
4359                              0L);   4359                              0L);
4360   if (tmp___4) {   4360   if (tmp___4) {
4361     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   4361     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
4362     tmp___3 = tmp___0;   4362     tmp___3 = tmp___0;
4363   } else {   4363   } else {
4364     tmp___1 = __stream->_IO_write_ptr;   4364     tmp___1 = __stream->_IO_write_ptr;
4365     (__stream->_IO_write_ptr) ++;   4365     (__stream->_IO_write_ptr) ++;
4366     tmp___2 = (char )__c;   4366     tmp___2 = (char )__c;
4367     *tmp___1 = tmp___2;   4367     *tmp___1 = tmp___2;
4368     tmp___3 = (int )((unsigned char )tmp___2);   4368     tmp___3 = (int )((unsigned char )tmp___2);
4369   }   4369   }
4370   return (tmp___3);   4370   return (tmp___3);
4371 }   4371 }
4372 }   4372 }
4373 __inline extern int putc_unlocked(int __c , FILE *__stream )   4373 __inline extern int putc_unlocked(int __c , FILE *__stream )
4374 {   4374 {
4375   long tmp ;   4375   long tmp ;
4376   int tmp___0 ;   4376   int tmp___0 ;
4377   char *tmp___1 ;   4377   char *tmp___1 ;
4378   char tmp___2 ;   4378   char tmp___2 ;
4379   int tmp___3 ;   4379   int tmp___3 ;
4380   long tmp___4 ;   4380   long tmp___4 ;
4381     4381  
4382   {   4382   {
4383   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   4383   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
4384                              0L);   4384                              0L);
4385   if (tmp___4) {   4385   if (tmp___4) {
4386     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   4386     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
4387     tmp___3 = tmp___0;   4387     tmp___3 = tmp___0;
4388   } else {   4388   } else {
4389     tmp___1 = __stream->_IO_write_ptr;   4389     tmp___1 = __stream->_IO_write_ptr;
4390     (__stream->_IO_write_ptr) ++;   4390     (__stream->_IO_write_ptr) ++;
4391     tmp___2 = (char )__c;   4391     tmp___2 = (char )__c;
4392     *tmp___1 = tmp___2;   4392     *tmp___1 = tmp___2;
4393     tmp___3 = (int )((unsigned char )tmp___2);   4393     tmp___3 = (int )((unsigned char )tmp___2);
4394   }   4394   }
4395   return (tmp___3);   4395   return (tmp___3);
4396 }   4396 }
4397 }   4397 }
4398 __inline extern int putchar_unlocked(int __c )   4398 __inline extern int putchar_unlocked(int __c )
4399 {   4399 {
4400   long tmp ;   4400   long tmp ;
4401   int tmp___0 ;   4401   int tmp___0 ;
4402   char *tmp___1 ;   4402   char *tmp___1 ;
4403   char tmp___2 ;   4403   char tmp___2 ;
4404   int tmp___3 ;   4404   int tmp___3 ;
4405   long tmp___4 ;   4405   long tmp___4 ;
4406     4406  
4407   {   4407   {
4408   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   4408   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
4409                              0L);   4409                              0L);
4410   if (tmp___4) {   4410   if (tmp___4) {
4411     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   4411     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
4412     tmp___3 = tmp___0;   4412     tmp___3 = tmp___0;
4413   } else {   4413   } else {
4414     tmp___1 = stdout->_IO_write_ptr;   4414     tmp___1 = stdout->_IO_write_ptr;
4415     (stdout->_IO_write_ptr) ++;   4415     (stdout->_IO_write_ptr) ++;
4416     tmp___2 = (char )__c;   4416     tmp___2 = (char )__c;
4417     *tmp___1 = tmp___2;   4417     *tmp___1 = tmp___2;
4418     tmp___3 = (int )((unsigned char )tmp___2);   4418     tmp___3 = (int )((unsigned char )tmp___2);
4419   }   4419   }
4420   return (tmp___3);   4420   return (tmp___3);
4421 }   4421 }
4422 }   4422 }
4423 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   4423 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
4424 __inline extern int feof_unlocked(FILE *__stream )   4424 __inline extern int feof_unlocked(FILE *__stream )
4425 {   4425 {
4426     4426  
4427     4427  
4428   {   4428   {
4429   return ((__stream->_flags & 16) != 0);   4429   return ((__stream->_flags & 16) != 0);
4430 }   4430 }
4431 }   4431 }
4432 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   4432 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
4433 __inline extern int ferror_unlocked(FILE *__stream )   4433 __inline extern int ferror_unlocked(FILE *__stream )
4434 {   4434 {
4435     4435  
4436     4436  
4437   {   4437   {
4438   return ((__stream->_flags & 32) != 0);   4438   return ((__stream->_flags & 32) != 0);
4439 }   4439 }
4440 }   4440 }
4441 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   4441 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
4442 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   4442 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
4443 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   4443 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
4444 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   4444 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
4445 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   4445 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
4446 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   4446 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
4447                                                                                       char ** __restrict  __endptr ) ;   4447                                                                                       char ** __restrict  __endptr ) ;
4448 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   4448 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
4449                                                                                      char ** __restrict  __endptr ) ;   4449                                                                                      char ** __restrict  __endptr ) ;
4450 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   4450 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
4451                                                                                             char ** __restrict  __endptr ) ;   4451                                                                                             char ** __restrict  __endptr ) ;
4452 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   4452 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
4453                                                                                     char ** __restrict  __endptr ,   4453                                                                                     char ** __restrict  __endptr ,
4454                                                                                     int __base ) ;   4454                                                                                     int __base ) ;
4455 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   4455 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
4456                                                                                               char ** __restrict  __endptr ,   4456                                                                                               char ** __restrict  __endptr ,
4457                                                                                               int __base ) ;   4457                                                                                               int __base ) ;
4458 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   4458 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
4459                                                                                          char ** __restrict  __endptr ,   4459                                                                                          char ** __restrict  __endptr ,
4460                                                                                          int __base ) ;   4460                                                                                          int __base ) ;
4461 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   4461 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
4462                                                                                                    char ** __restrict  __endptr ,   4462                                                                                                    char ** __restrict  __endptr ,
4463                                                                                                    int __base ) ;   4463                                                                                                    int __base ) ;
4464 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   4464 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
4465                                                                                           char ** __restrict  __endptr ,   4465                                                                                           char ** __restrict  __endptr ,
4466                                                                                           int __base ) ;   4466                                                                                           int __base ) ;
4467 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   4467 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
4468                                                                                                     char ** __restrict  __endptr ,   4468                                                                                                     char ** __restrict  __endptr ,
4469                                                                                                     int __base ) ;   4469                                                                                                     int __base ) ;
4470 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   4470 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
4471 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   4471 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
4472 {   4472 {
4473   double tmp ;   4473   double tmp ;
4474     4474  
4475   {   4475   {
4476   tmp = strtod((char const   */* __restrict  */)__nptr,   4476   tmp = strtod((char const   */* __restrict  */)__nptr,
4477                (char **/* __restrict  */)((char **)((void *)0)));   4477                (char **/* __restrict  */)((char **)((void *)0)));
4478   return (tmp);   4478   return (tmp);
4479 }   4479 }
4480 }   4480 }
4481 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   4481 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
4482 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   4482 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
4483 {   4483 {
4484   long tmp ;   4484   long tmp ;
4485     4485  
4486   {   4486   {
4487   tmp = strtol((char const   */* __restrict  */)__nptr,   4487   tmp = strtol((char const   */* __restrict  */)__nptr,
4488                (char **/* __restrict  */)((char **)((void *)0)), 10);   4488                (char **/* __restrict  */)((char **)((void *)0)), 10);
4489   return ((int )tmp);   4489   return ((int )tmp);
4490 }   4490 }
4491 }   4491 }
4492 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   4492 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
4493 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   4493 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
4494 {   4494 {
4495   long tmp ;   4495   long tmp ;
4496     4496  
4497   {   4497   {
4498   tmp = strtol((char const   */* __restrict  */)__nptr,   4498   tmp = strtol((char const   */* __restrict  */)__nptr,
4499                (char **/* __restrict  */)((char **)((void *)0)), 10);   4499                (char **/* __restrict  */)((char **)((void *)0)), 10);
4500   return (tmp);   4500   return (tmp);
4501 }   4501 }
4502 }   4502 }
4503 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   4503 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
4504 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   4504 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
4505 {   4505 {
4506   long long tmp ;   4506   long long tmp ;
4507     4507  
4508   {   4508   {
4509   tmp = strtoll((char const   */* __restrict  */)__nptr,   4509   tmp = strtoll((char const   */* __restrict  */)__nptr,
4510                 (char **/* __restrict  */)((char **)((void *)0)), 10);   4510                 (char **/* __restrict  */)((char **)((void *)0)), 10);
4511   return (tmp);   4511   return (tmp);
4512 }   4512 }
4513 }   4513 }
4514 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   4514 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
4515 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   4515 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
4516 extern int select(int __nfds , fd_set * __restrict  __readfds ,   4516 extern int select(int __nfds , fd_set * __restrict  __readfds ,
4517                   fd_set * __restrict  __writefds ,   4517                   fd_set * __restrict  __writefds ,
4518                   fd_set * __restrict  __exceptfds ,   4518                   fd_set * __restrict  __exceptfds ,
4519                   struct timeval * __restrict  __timeout ) ;   4519                   struct timeval * __restrict  __timeout ) ;
4520 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   4520 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
4521                    fd_set * __restrict  __writefds ,   4521                    fd_set * __restrict  __writefds ,
4522                    fd_set * __restrict  __exceptfds ,   4522                    fd_set * __restrict  __exceptfds ,
4523                    struct timespec  const  * __restrict  __timeout ,   4523                    struct timespec  const  * __restrict  __timeout ,
4524                    __sigset_t const   * __restrict  __sigmask ) ;   4524                    __sigset_t const   * __restrict  __sigmask ) ;
4525 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   4525 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
4526 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   4526 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
4527 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   4527 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
4528                                                                                  unsigned int __minor ) ;   4528                                                                                  unsigned int __minor ) ;
4529 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   4529 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
4530 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )   4530 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )
4531 {   4531 {
4532     4532  
4533     4533  
4534   {   4534   {
4535   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   4535   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
4536 }   4536 }
4537 }   4537 }
4538 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   4538 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
4539 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )   4539 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )
4540 {   4540 {
4541     4541  
4542     4542  
4543   {   4543   {
4544   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   4544   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
4545 }   4545 }
4546 }   4546 }
4547 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   4547 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
4548                                                                                  unsigned int __minor ) ;   4548                                                                                  unsigned int __minor ) ;
4549 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,   4549 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,
4550                                                    unsigned int __minor )   4550                                                    unsigned int __minor )
4551 {   4551 {
4552     4552  
4553     4553  
4554   {   4554   {
4555   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));   4555   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
4556 }   4556 }
4557 }   4557 }
4558 extern  __attribute__((__nothrow__)) long random(void) ;   4558 extern  __attribute__((__nothrow__)) long random(void) ;
4559 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   4559 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
4560 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   4560 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
4561                                                                                         char *__statebuf ,   4561                                                                                         char *__statebuf ,
4562                                                                                         size_t __statelen ) ;   4562                                                                                         size_t __statelen ) ;
4563 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   4563 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
4564 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   4564 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
4565                                                                                        int32_t * __restrict  __result ) ;   4565                                                                                        int32_t * __restrict  __result ) ;
4566 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   4566 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
4567                                                                                       struct random_data *__buf ) ;   4567                                                                                       struct random_data *__buf ) ;
4568 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   4568 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
4569                                                                                           char * __restrict  __statebuf ,   4569                                                                                           char * __restrict  __statebuf ,
4570                                                                                           size_t __statelen ,   4570                                                                                           size_t __statelen ,
4571                                                                                           struct random_data * __restrict  __buf ) ;   4571                                                                                           struct random_data * __restrict  __buf ) ;
4572 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   4572 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
4573                                                                                          struct random_data * __restrict  __buf ) ;   4573                                                                                          struct random_data * __restrict  __buf ) ;
4574 extern  __attribute__((__nothrow__)) int rand(void) ;   4574 extern  __attribute__((__nothrow__)) int rand(void) ;
4575 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   4575 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
4576 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   4576 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
4577 extern  __attribute__((__nothrow__)) double drand48(void) ;   4577 extern  __attribute__((__nothrow__)) double drand48(void) ;
4578 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   4578 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
4579 extern  __attribute__((__nothrow__)) long lrand48(void) ;   4579 extern  __attribute__((__nothrow__)) long lrand48(void) ;
4580 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   4580 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
4581 extern  __attribute__((__nothrow__)) long mrand48(void) ;   4581 extern  __attribute__((__nothrow__)) long mrand48(void) ;
4582 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   4582 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
4583 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   4583 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
4584 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   4584 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
4585 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   4585 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
4586 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   4586 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
4587                                                                                         double * __restrict  __result ) ;   4587                                                                                         double * __restrict  __result ) ;
4588 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   4588 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
4589                                                                                         struct drand48_data * __restrict  __buffer ,   4589                                                                                         struct drand48_data * __restrict  __buffer ,
4590                                                                                         double * __restrict  __result ) ;   4590                                                                                         double * __restrict  __result ) ;
4591 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   4591 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
4592                                                                                         long * __restrict  __result ) ;   4592                                                                                         long * __restrict  __result ) ;
4593 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   4593 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
4594                                                                                         struct drand48_data * __restrict  __buffer ,   4594                                                                                         struct drand48_data * __restrict  __buffer ,
4595                                                                                         long * __restrict  __result ) ;   4595                                                                                         long * __restrict  __result ) ;
4596 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   4596 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
4597                                                                                         long * __restrict  __result ) ;   4597                                                                                         long * __restrict  __result ) ;
4598 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   4598 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
4599                                                                                         struct drand48_data * __restrict  __buffer ,   4599                                                                                         struct drand48_data * __restrict  __buffer ,
4600                                                                                         long * __restrict  __result ) ;   4600                                                                                         long * __restrict  __result ) ;
4601 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   4601 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
4602                                                                                       struct drand48_data *__buffer ) ;   4602                                                                                       struct drand48_data *__buffer ) ;
4603 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   4603 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
4604                                                                                        struct drand48_data *__buffer ) ;   4604                                                                                        struct drand48_data *__buffer ) ;
4605 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   4605 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
4606                                                                                         struct drand48_data *__buffer ) ;   4606                                                                                         struct drand48_data *__buffer ) ;
4607 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   4607 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
4608 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   4608 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
4609                                                   size_t __size )  __attribute__((__malloc__)) ;   4609                                                   size_t __size )  __attribute__((__malloc__)) ;
4610 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   4610 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
4611                                                                                               size_t __size ) ;   4611                                                                                               size_t __size ) ;
4612 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   4612 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
4613 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   4613 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
4614 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   4614 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
4615 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   4615 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
4616 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   4616 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
4617                                                                                            size_t __alignment ,   4617                                                                                            size_t __alignment ,
4618                                                                                            size_t __size ) ;   4618                                                                                            size_t __size ) ;
4619 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   4619 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
4620 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   4620 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
4621 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   4621 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
4622                                                                                                    void *__arg ) ,   4622                                                                                                    void *__arg ) ,
4623                                                                                     void *__arg ) ;   4623                                                                                     void *__arg ) ;
4624 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   4624 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
4625 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   4625 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
4626 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   4626 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
4627 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   4627 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
4628 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   4628 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
4629 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   4629 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
4630                                                                                    char const   *__value ,   4630                                                                                    char const   *__value ,
4631                                                                                    int __replace ) ;   4631                                                                                    int __replace ) ;
4632 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   4632 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
4633 extern  __attribute__((__nothrow__)) int clearenv(void) ;   4633 extern  __attribute__((__nothrow__)) int clearenv(void) ;
4634 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   4634 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
4635 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   4635 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
4636 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   4636 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
4637                                                        int __suffixlen )  __asm__("mkstemps64")  ;   4637                                                        int __suffixlen )  __asm__("mkstemps64")  ;
4638 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   4638 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
4639 extern int system(char const   *__command ) ;   4639 extern int system(char const   *__command ) ;
4640 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   4640 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
4641                                                     char * __restrict  __resolved ) ;   4641                                                     char * __restrict  __resolved ) ;
4642 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   4642 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
4643                                                             void const   *__base ,   4643                                                             void const   *__base ,
4644                                                             size_t __nmemb ,   4644                                                             size_t __nmemb ,
4645                                                             size_t __size ,   4645                                                             size_t __size ,
4646                                                             int (*__compar)(void const   * ,   4646                                                             int (*__compar)(void const   * ,
4647                                                                             void const   * ) ) ;   4647                                                                             void const   * ) ) ;
4648 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   4648 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
4649                                                        size_t __nmemb ,   4649                                                        size_t __nmemb ,
4650                                                        size_t __size ,   4650                                                        size_t __size ,
4651                                                        int (*__compar)(void const   * ,   4651                                                        int (*__compar)(void const   * ,
4652                                                                        void const   * ) ) ;   4652                                                                        void const   * ) ) ;
4653 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   4653 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
4654 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   4654 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
4655 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   4655 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
4656 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   4656 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
4657 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   4657 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
4658 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   4658 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
4659                                                    long long __denom )  __attribute__((__const__)) ;   4659                                                    long long __denom )  __attribute__((__const__)) ;
4660 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   4660 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
4661                                                                                      int __ndigit ,   4661                                                                                      int __ndigit ,
4662                                                                                      int * __restrict  __decpt ,   4662                                                                                      int * __restrict  __decpt ,
4663                                                                                      int * __restrict  __sign ) ;   4663                                                                                      int * __restrict  __sign ) ;
4664 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   4664 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
4665                                                                                      int __ndigit ,   4665                                                                                      int __ndigit ,
4666                                                                                      int * __restrict  __decpt ,   4666                                                                                      int * __restrict  __decpt ,
4667                                                                                      int * __restrict  __sign ) ;   4667                                                                                      int * __restrict  __sign ) ;
4668 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   4668 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
4669                                                                                    int __ndigit ,   4669                                                                                    int __ndigit ,
4670                                                                                    char *__buf ) ;   4670                                                                                    char *__buf ) ;
4671 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   4671 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
4672                                                                                       int __ndigit ,   4672                                                                                       int __ndigit ,
4673                                                                                       int * __restrict  __decpt ,   4673                                                                                       int * __restrict  __decpt ,
4674                                                                                       int * __restrict  __sign ) ;   4674                                                                                       int * __restrict  __sign ) ;
4675 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   4675 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
4676                                                                                       int __ndigit ,   4676                                                                                       int __ndigit ,
4677                                                                                       int * __restrict  __decpt ,   4677                                                                                       int * __restrict  __decpt ,
4678                                                                                       int * __restrict  __sign ) ;   4678                                                                                       int * __restrict  __sign ) ;
4679 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   4679 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
4680                                                                                     int __ndigit ,   4680                                                                                     int __ndigit ,
4681                                                                                     char *__buf ) ;   4681                                                                                     char *__buf ) ;
4682 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   4682 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
4683                                                                                        int __ndigit ,   4683                                                                                        int __ndigit ,
4684                                                                                        int * __restrict  __decpt ,   4684                                                                                        int * __restrict  __decpt ,
4685                                                                                        int * __restrict  __sign ,   4685                                                                                        int * __restrict  __sign ,
4686                                                                                        char * __restrict  __buf ,   4686                                                                                        char * __restrict  __buf ,
4687                                                                                        size_t __len ) ;   4687                                                                                        size_t __len ) ;
4688 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   4688 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
4689                                                                                        int __ndigit ,   4689                                                                                        int __ndigit ,
4690                                                                                        int * __restrict  __decpt ,   4690                                                                                        int * __restrict  __decpt ,
4691                                                                                        int * __restrict  __sign ,   4691                                                                                        int * __restrict  __sign ,
4692                                                                                        char * __restrict  __buf ,   4692                                                                                        char * __restrict  __buf ,
4693                                                                                        size_t __len ) ;   4693                                                                                        size_t __len ) ;
4694 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   4694 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
4695                                                                                         int __ndigit ,   4695                                                                                         int __ndigit ,
4696                                                                                         int * __restrict  __decpt ,   4696                                                                                         int * __restrict  __decpt ,
4697                                                                                         int * __restrict  __sign ,   4697                                                                                         int * __restrict  __sign ,
4698                                                                                         char * __restrict  __buf ,   4698                                                                                         char * __restrict  __buf ,
4699                                                                                         size_t __len ) ;   4699                                                                                         size_t __len ) ;
4700 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   4700 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
4701                                                                                         int __ndigit ,   4701                                                                                         int __ndigit ,
4702                                                                                         int * __restrict  __decpt ,   4702                                                                                         int * __restrict  __decpt ,
4703                                                                                         int * __restrict  __sign ,   4703                                                                                         int * __restrict  __sign ,
4704                                                                                         char * __restrict  __buf ,   4704                                                                                         char * __restrict  __buf ,
4705                                                                                         size_t __len ) ;   4705                                                                                         size_t __len ) ;
4706 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   4706 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
4707 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   4707 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
4708                                                 char const   * __restrict  __s ,   4708                                                 char const   * __restrict  __s ,
4709                                                 size_t __n ) ;   4709                                                 size_t __n ) ;
4710 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   4710 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
4711 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   4711 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
4712                                                      char const   * __restrict  __s ,   4712                                                      char const   * __restrict  __s ,
4713                                                      size_t __n ) ;   4713                                                      size_t __n ) ;
4714 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   4714 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
4715                                                      wchar_t const   * __restrict  __pwcs ,   4715                                                      wchar_t const   * __restrict  __pwcs ,
4716                                                      size_t __n ) ;   4716                                                      size_t __n ) ;
4717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   4717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
4718 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   4718 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
4719                                                                                           char * const  * __restrict  __tokens ,   4719                                                                                           char * const  * __restrict  __tokens ,
4720                                                                                           char ** __restrict  __valuep ) ;   4720                                                                                           char ** __restrict  __valuep ) ;
4721 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   4721 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
4722                                                                                        int __nelem ) ;   4722                                                                                        int __nelem ) ;
4723 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,   4723 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,
4724                            guint element_size ) ;   4724                            guint element_size ) ;
4725 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,   4725 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,
4726                                  guint element_size , guint reserved_size ) ;   4726                                  guint element_size , guint reserved_size ) ;
4727 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;   4727 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;
4728 extern GArray *g_array_ref(GArray *array ) ;   4728 extern GArray *g_array_ref(GArray *array ) ;
4729 extern void g_array_unref(GArray *array ) ;   4729 extern void g_array_unref(GArray *array ) ;
4730 extern guint g_array_get_element_size(GArray *array ) ;   4730 extern guint g_array_get_element_size(GArray *array ) ;
4731 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,   4731 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,
4732                                    guint len ) ;   4732                                    guint len ) ;
4733 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,   4733 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,
4734                                     guint len ) ;   4734                                     guint len ) ;
4735 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,   4735 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,
4736                                    gconstpointer data , guint len ) ;   4736                                    gconstpointer data , guint len ) ;
4737 extern GArray *g_array_set_size(GArray *array , guint length ) ;   4737 extern GArray *g_array_set_size(GArray *array , guint length ) ;
4738 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;   4738 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;
4739 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;   4739 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;
4740 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;   4740 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;
4741 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,   4741 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,
4742                                                               gconstpointer b ) ) ;   4742                                                               gconstpointer b ) ) ;
4743 extern void g_array_sort_with_data(GArray *array ,   4743 extern void g_array_sort_with_data(GArray *array ,
4744                                    gint (*compare_func)(gconstpointer a ,   4744                                    gint (*compare_func)(gconstpointer a ,
4745                                                         gconstpointer b ,   4745                                                         gconstpointer b ,
4746                                                         gpointer user_data ) ,   4746                                                         gpointer user_data ) ,
4747                                    gpointer user_data ) ;   4747                                    gpointer user_data ) ;
4748 extern GPtrArray *g_ptr_array_new(void) ;   4748 extern GPtrArray *g_ptr_array_new(void) ;
4749 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;   4749 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;
4750 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;   4750 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;
4751 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;   4751 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;
4752 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;   4752 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;
4753 extern void g_ptr_array_unref(GPtrArray *array ) ;   4753 extern void g_ptr_array_unref(GPtrArray *array ) ;
4754 extern void g_ptr_array_set_free_func(GPtrArray *array ,   4754 extern void g_ptr_array_set_free_func(GPtrArray *array ,
4755                                       void (*element_free_func)(gpointer data ) ) ;   4755                                       void (*element_free_func)(gpointer data ) ) ;
4756 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;   4756 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;
4757 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;   4757 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;
4758 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;   4758 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;
4759 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;   4759 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;
4760 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;   4760 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;
4761 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,   4761 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,
4762                                      guint length ) ;   4762                                      guint length ) ;
4763 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;   4763 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;
4764 extern void g_ptr_array_sort(GPtrArray *array ,   4764 extern void g_ptr_array_sort(GPtrArray *array ,
4765                              gint (*compare_func)(gconstpointer a ,   4765                              gint (*compare_func)(gconstpointer a ,
4766                                                   gconstpointer b ) ) ;   4766                                                   gconstpointer b ) ) ;
4767 extern void g_ptr_array_sort_with_data(GPtrArray *array ,   4767 extern void g_ptr_array_sort_with_data(GPtrArray *array ,
4768                                        gint (*compare_func)(gconstpointer a ,   4768                                        gint (*compare_func)(gconstpointer a ,
4769                                                             gconstpointer b ,   4769                                                             gconstpointer b ,
4770                                                             gpointer user_data ) ,   4770                                                             gpointer user_data ) ,
4771                                        gpointer user_data ) ;   4771                                        gpointer user_data ) ;
4772 extern void g_ptr_array_foreach(GPtrArray *array ,   4772 extern void g_ptr_array_foreach(GPtrArray *array ,
4773                                 void (*func)(gpointer data , gpointer user_data ) ,   4773                                 void (*func)(gpointer data , gpointer user_data ) ,
4774                                 gpointer user_data ) ;   4774                                 gpointer user_data ) ;
4775 extern GByteArray *g_byte_array_new(void) ;   4775 extern GByteArray *g_byte_array_new(void) ;
4776 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;   4776 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;
4777 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;   4777 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;
4778 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;   4778 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;
4779 extern void g_byte_array_unref(GByteArray *array ) ;   4779 extern void g_byte_array_unref(GByteArray *array ) ;
4780 extern GByteArray *g_byte_array_append(GByteArray *array ,   4780 extern GByteArray *g_byte_array_append(GByteArray *array ,
4781                                        guint8 const   *data , guint len ) ;   4781                                        guint8 const   *data , guint len ) ;
4782 extern GByteArray *g_byte_array_prepend(GByteArray *array ,   4782 extern GByteArray *g_byte_array_prepend(GByteArray *array ,
4783                                         guint8 const   *data , guint len ) ;   4783                                         guint8 const   *data , guint len ) ;
4784 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;   4784 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;
4785 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;   4785 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;
4786 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,   4786 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,
4787                                                   guint index_ ) ;   4787                                                   guint index_ ) ;
4788 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,   4788 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,
4789                                              guint length ) ;   4789                                              guint length ) ;
4790 extern void g_byte_array_sort(GByteArray *array ,   4790 extern void g_byte_array_sort(GByteArray *array ,
4791                               gint (*compare_func)(gconstpointer a ,   4791                               gint (*compare_func)(gconstpointer a ,
4792                                                    gconstpointer b ) ) ;   4792                                                    gconstpointer b ) ) ;
4793 extern void g_byte_array_sort_with_data(GByteArray *array ,   4793 extern void g_byte_array_sort_with_data(GByteArray *array ,
4794                                         gint (*compare_func)(gconstpointer a ,   4794                                         gint (*compare_func)(gconstpointer a ,
4795                                                              gconstpointer b ,   4795                                                              gconstpointer b ,
4796                                                              gpointer user_data ) ,   4796                                                              gpointer user_data ) ,
4797                                         gpointer user_data ) ;   4797                                         gpointer user_data ) ;
4798 extern GQuark g_quark_try_string(gchar const   *string ) ;   4798 extern GQuark g_quark_try_string(gchar const   *string ) ;
4799 extern GQuark g_quark_from_static_string(gchar const   *string ) ;   4799 extern GQuark g_quark_from_static_string(gchar const   *string ) ;
4800 extern GQuark g_quark_from_string(gchar const   *string ) ;   4800 extern GQuark g_quark_from_string(gchar const   *string ) ;
4801 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;   4801 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;
4802 extern gchar const   *g_intern_string(gchar const   *string ) ;   4802 extern gchar const   *g_intern_string(gchar const   *string ) ;
4803 extern gchar const   *g_intern_static_string(gchar const   *string ) ;   4803 extern gchar const   *g_intern_static_string(gchar const   *string ) ;
4804 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,   4804 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,
4805                                                       gint code ,   4805                                                       gint code ,
4806                                                       gchar const   *format   4806                                                       gchar const   *format
4807                                                       , ...) ;   4807                                                       , ...) ;
4808 extern GError *g_error_new_literal(GQuark domain , gint code ,   4808 extern GError *g_error_new_literal(GQuark domain , gint code ,
4809                                    gchar const   *message ) ;   4809                                    gchar const   *message ) ;
4810 extern GError *g_error_new_valist(GQuark domain , gint code ,   4810 extern GError *g_error_new_valist(GQuark domain , gint code ,
4811                                   gchar const   *format , va_list args ) ;   4811                                   gchar const   *format , va_list args ) ;
4812 extern void g_error_free(GError *error ) ;   4812 extern void g_error_free(GError *error ) ;
4813 extern GError *g_error_copy(GError const   *error ) ;   4813 extern GError *g_error_copy(GError const   *error ) ;
4814 extern gboolean g_error_matches(GError const   *error , GQuark domain ,   4814 extern gboolean g_error_matches(GError const   *error , GQuark domain ,
4815                                 gint code ) ;   4815                                 gint code ) ;
4816 extern void ( /* format attribute */  g_set_error)(GError **err ,   4816 extern void ( /* format attribute */  g_set_error)(GError **err ,
4817                                                    GQuark domain , gint code ,   4817                                                    GQuark domain , gint code ,
4818                                                    gchar const   *format  , ...) ;   4818                                                    gchar const   *format  , ...) ;
4819 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,   4819 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,
4820                                 gchar const   *message ) ;   4820                                 gchar const   *message ) ;
4821 extern void g_propagate_error(GError **dest , GError *src ) ;   4821 extern void g_propagate_error(GError **dest , GError *src ) ;
4822 extern void g_clear_error(GError **err ) ;   4822 extern void g_clear_error(GError **err ) ;
4823 extern void ( /* format attribute */  g_prefix_error)(GError **err ,   4823 extern void ( /* format attribute */  g_prefix_error)(GError **err ,
4824                                                       gchar const   *format   4824                                                       gchar const   *format
4825                                                       , ...) ;   4825                                                       , ...) ;
4826 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,   4826 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,
4827                                                                   GError *src ,   4827                                                                   GError *src ,
4828                                                                   gchar const   *format   4828                                                                   gchar const   *format
4829                                                                   , ...) ;   4829                                                                   , ...) ;
4830 extern gchar const   *g_get_user_name(void) ;   4830 extern gchar const   *g_get_user_name(void) ;
4831 extern gchar const   *g_get_real_name(void) ;   4831 extern gchar const   *g_get_real_name(void) ;
4832 extern gchar const   *g_get_home_dir(void) ;   4832 extern gchar const   *g_get_home_dir(void) ;
4833 extern gchar const   *g_get_tmp_dir(void) ;   4833 extern gchar const   *g_get_tmp_dir(void) ;
4834 extern gchar const   *g_get_host_name(void) ;   4834 extern gchar const   *g_get_host_name(void) ;
4835 extern gchar *g_get_prgname(void) ;   4835 extern gchar *g_get_prgname(void) ;
4836 extern void g_set_prgname(gchar const   *prgname ) ;   4836 extern void g_set_prgname(gchar const   *prgname ) ;
4837 extern gchar const   *g_get_application_name(void) ;   4837 extern gchar const   *g_get_application_name(void) ;
4838 extern void g_set_application_name(gchar const   *application_name ) ;   4838 extern void g_set_application_name(gchar const   *application_name ) ;
4839 extern void g_reload_user_special_dirs_cache(void) ;   4839 extern void g_reload_user_special_dirs_cache(void) ;
4840 extern gchar const   *g_get_user_data_dir(void) ;   4840 extern gchar const   *g_get_user_data_dir(void) ;
4841 extern gchar const   *g_get_user_config_dir(void) ;   4841 extern gchar const   *g_get_user_config_dir(void) ;
4842 extern gchar const   *g_get_user_cache_dir(void) ;   4842 extern gchar const   *g_get_user_cache_dir(void) ;
4843 extern gchar const   * const  *g_get_system_data_dirs(void) ;   4843 extern gchar const   * const  *g_get_system_data_dirs(void) ;
4844 extern gchar const   * const  *g_get_system_config_dirs(void) ;   4844 extern gchar const   * const  *g_get_system_config_dirs(void) ;
4845 extern gchar const   * const  *g_get_language_names(void) ;   4845 extern gchar const   * const  *g_get_language_names(void) ;
4846 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;   4846 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;
4847 extern guint g_parse_debug_string(gchar const   *string ,   4847 extern guint g_parse_debug_string(gchar const   *string ,
4848                                   GDebugKey const   *keys , guint nkeys ) ;   4848                                   GDebugKey const   *keys , guint nkeys ) ;
4849 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,   4849 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,
4850                                                   gchar const   *format  , ...) ;   4850                                                   gchar const   *format  , ...) ;
4851 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,   4851 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,
4852                         va_list args ) ;   4852                         va_list args ) ;
4853 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;   4853 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;
4854 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;   4854 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;
4855 extern gchar const   *g_basename(gchar const   *file_name ) ;   4855 extern gchar const   *g_basename(gchar const   *file_name ) ;
4856 extern gchar *g_get_current_dir(void) ;   4856 extern gchar *g_get_current_dir(void) ;
4857 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;   4857 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;
4858 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;   4858 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;
4859 extern void g_nullify_pointer(gpointer *nullify_location ) ;   4859 extern void g_nullify_pointer(gpointer *nullify_location ) ;
4860 extern gchar const   *g_getenv(gchar const   *variable ) ;   4860 extern gchar const   *g_getenv(gchar const   *variable ) ;
4861 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,   4861 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,
4862                          gboolean overwrite ) ;   4862                          gboolean overwrite ) ;
4863 extern void g_unsetenv(gchar const   *variable ) ;   4863 extern void g_unsetenv(gchar const   *variable ) ;
4864 extern gchar **g_listenv(void) ;   4864 extern gchar **g_listenv(void) ;
4865 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,   4865 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,
4866                                          gchar *buffer ) ;   4866                                          gchar *buffer ) ;
4867 extern void g_atexit(void (*func)(void) ) ;   4867 extern void g_atexit(void (*func)(void) ) ;
4868 extern gchar *g_find_program_in_path(gchar const   *program ) ;   4868 extern gchar *g_find_program_in_path(gchar const   *program ) ;
4869 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4869 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4870 __const__)) ;   4870 __const__)) ;
4871 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4871 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4872 __const__)) ;   4872 __const__)) ;
4873 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   4873 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
4874 __const__)) ;   4874 __const__)) ;
4875 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   4875 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
4876 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4876 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4877 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4877 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4878 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4878 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4879 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4879 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4880 __const__)) ;   4880 __const__)) ;
4881 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )   4881 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )
4882 {   4882 {
4883   int _g_boolean_var_ ;   4883   int _g_boolean_var_ ;
4884   long tmp ;   4884   long tmp ;
4885     4885  
4886   {   4886   {
4887   if (nth_bit < -1) {   4887   if (nth_bit < -1) {
4888     _g_boolean_var_ = 1;   4888     _g_boolean_var_ = 1;
4889   } else {   4889   } else {
4890     _g_boolean_var_ = 0;   4890     _g_boolean_var_ = 0;
4891   }   4891   }
4892   tmp = __builtin_expect((long )_g_boolean_var_, 0L);   4892   tmp = __builtin_expect((long )_g_boolean_var_, 0L);
4893   if (tmp) {   4893   if (tmp) {
4894     nth_bit = -1;   4894     nth_bit = -1;
4895   } else {   4895   } else {
4896     4896  
4897   }   4897   }
4898   while (nth_bit < 31) {   4898   while (nth_bit < 31) {
4899     nth_bit ++;   4899     nth_bit ++;
4900     if (mask & (1UL << nth_bit)) {   4900     if (mask & (1UL << nth_bit)) {
4901       return (nth_bit);   4901       return (nth_bit);
4902     } else {   4902     } else {
4903     4903  
4904     }   4904     }
4905   }   4905   }
4906   return (-1);   4906   return (-1);
4907 }   4907 }
4908 }   4908 }
4909 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4909 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4910 __const__)) ;   4910 __const__)) ;
4911 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )   4911 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )
4912 {   4912 {
4913   int _g_boolean_var_ ;   4913   int _g_boolean_var_ ;
4914   long tmp ;   4914   long tmp ;
4915     4915  
4916   {   4916   {
4917   if (nth_bit < 0) {   4917   if (nth_bit < 0) {
4918     nth_bit = 32;   4918     nth_bit = 32;
4919   } else {   4919   } else {
4920     if (nth_bit > 32) {   4920     if (nth_bit > 32) {
4921       _g_boolean_var_ = 1;   4921       _g_boolean_var_ = 1;
4922     } else {   4922     } else {
4923       _g_boolean_var_ = 0;   4923       _g_boolean_var_ = 0;
4924     }   4924     }
4925     tmp = __builtin_expect((long )_g_boolean_var_, 0L);   4925     tmp = __builtin_expect((long )_g_boolean_var_, 0L);
4926     if (tmp) {   4926     if (tmp) {
4927       nth_bit = 32;   4927       nth_bit = 32;
4928     } else {   4928     } else {
4929     4929  
4930     }   4930     }
4931   }   4931   }
4932   while (nth_bit > 0) {   4932   while (nth_bit > 0) {
4933     nth_bit --;   4933     nth_bit --;
4934     if (mask & (1UL << nth_bit)) {   4934     if (mask & (1UL << nth_bit)) {
4935       return (nth_bit);   4935       return (nth_bit);
4936     } else {   4936     } else {
4937     4937  
4938     }   4938     }
4939   }   4939   }
4940   return (-1);   4940   return (-1);
4941 }   4941 }
4942 }   4942 }
4943 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   4943 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
4944 __const__)) ;   4944 __const__)) ;
4945 __inline static guint g_bit_storage(gulong number )   4945 __inline static guint g_bit_storage(gulong number )
4946 {   4946 {
4947   int _g_boolean_var_ ;   4947   int _g_boolean_var_ ;
4948   long tmp ;   4948   long tmp ;
4949   int tmp___0 ;   4949   int tmp___0 ;
4950   int tmp___1 ;   4950   int tmp___1 ;
4951   int _g_boolean_var____0 ;   4951   int _g_boolean_var____0 ;
4952   long tmp___2 ;   4952   long tmp___2 ;
4953     4953  
4954   {   4954   {
4955   if (number) {   4955   if (number) {
4956     _g_boolean_var____0 = 1;   4956     _g_boolean_var____0 = 1;
4957   } else {   4957   } else {
4958     _g_boolean_var____0 = 0;   4958     _g_boolean_var____0 = 0;
4959   }   4959   }
4960   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);   4960   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);
4961   if (tmp___2) {   4961   if (tmp___2) {
4962     tmp___0 = __builtin_clzl(number);   4962     tmp___0 = __builtin_clzl(number);
4963     tmp___1 = (31 ^ tmp___0) + 1;   4963     tmp___1 = (31 ^ tmp___0) + 1;
4964   } else {   4964   } else {
4965     tmp___1 = 1;   4965     tmp___1 = 1;
4966   }   4966   }
4967   return ((guint )tmp___1);   4967   return ((guint )tmp___1);
4968 }   4968 }
4969 }   4969 }
4970 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   4970 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
4971 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )   4971 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )
4972 {   4972 {
4973   GTrashStack *data ;   4973   GTrashStack *data ;
4974     4974  
4975   {   4975   {
4976   data = (GTrashStack *)data_p;   4976   data = (GTrashStack *)data_p;
4977   data->next = *stack_p;   4977   data->next = *stack_p;
4978   *stack_p = data;   4978   *stack_p = data;
4979   return;   4979   return;
4980 }   4980 }
4981 }   4981 }
4982 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4982 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4983 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )   4983 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )
4984 {   4984 {
4985   GTrashStack *data ;   4985   GTrashStack *data ;
4986     4986  
4987   {   4987   {
4988   data = *stack_p;   4988   data = *stack_p;
4989   if (data) {   4989   if (data) {
4990     *stack_p = data->next;   4990     *stack_p = data->next;
4991     data->next = (GTrashStack *)((void *)0);   4991     data->next = (GTrashStack *)((void *)0);
4992   } else {   4992   } else {
4993     4993  
4994   }   4994   }
4995   return ((gpointer )data);   4995   return ((gpointer )data);
4996 }   4996 }
4997 }   4997 }
4998 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4998 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4999 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )   4999 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )
5000 {   5000 {
5001   GTrashStack *data ;   5001   GTrashStack *data ;
5002     5002  
5003   {   5003   {
5004   data = *stack_p;   5004   data = *stack_p;
5005   return ((gpointer )data);   5005   return ((gpointer )data);
5006 }   5006 }
5007 }   5007 }
5008 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   5008 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
5009 __inline static guint g_trash_stack_height(GTrashStack **stack_p )   5009 __inline static guint g_trash_stack_height(GTrashStack **stack_p )
5010 {   5010 {
5011   GTrashStack *data ;   5011   GTrashStack *data ;
5012   guint i ;   5012   guint i ;
5013     5013  
5014   {   5014   {
5015   i = (guint )0;   5015   i = (guint )0;
5016   data = *stack_p;   5016   data = *stack_p;
5017   while (data) {   5017   while (data) {
5018     i ++;   5018     i ++;
5019     data = data->next;   5019     data = data->next;
5020   }   5020   }
5021   return (i);   5021   return (i);
5022 }   5022 }
5023 }   5023 }
5024 extern guint const   glib_major_version ;   5024 extern guint const   glib_major_version ;
5025 extern guint const   glib_minor_version ;   5025 extern guint const   glib_minor_version ;
5026 extern guint const   glib_micro_version ;   5026 extern guint const   glib_micro_version ;
5027 extern guint const   glib_interface_age ;   5027 extern guint const   glib_interface_age ;
5028 extern guint const   glib_binary_age ;   5028 extern guint const   glib_binary_age ;
5029 extern gchar const   *glib_check_version(guint required_major ,   5029 extern gchar const   *glib_check_version(guint required_major ,
5030                                          guint required_minor ,   5030                                          guint required_minor ,
5031                                          guint required_micro ) ;   5031                                          guint required_micro ) ;
5032 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,   5032 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,
5033                                           gint val ) ;   5033                                           gint val ) ;
5034 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,   5034 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,
5035                              gint val ) ;   5035                              gint val ) ;
5036 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,   5036 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,
5037                                                   gint oldval , gint newval ) ;   5037                                                   gint oldval , gint newval ) ;
5038 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,   5038 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,
5039                                                       gpointer oldval ,   5039                                                       gpointer oldval ,
5040                                                       gpointer newval ) ;   5040                                                       gpointer newval ) ;
5041 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;   5041 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;
5042 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,   5042 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,
5043                              gint newval ) ;   5043                              gint newval ) ;
5044 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;   5044 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;
5045 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,   5045 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,
5046                                  gpointer newval ) ;   5046                                  gpointer newval ) ;
5047 extern GQuark g_thread_error_quark(void) ;   5047 extern GQuark g_thread_error_quark(void) ;
5048 extern GThreadFunctions g_thread_functions_for_glib_use ;   5048 extern GThreadFunctions g_thread_functions_for_glib_use ;
5049 extern gboolean g_thread_use_default_impl ;   5049 extern gboolean g_thread_use_default_impl ;
5050 extern gboolean g_threads_got_initialized ;   5050 extern gboolean g_threads_got_initialized ;
5051 extern guint64 (*g_thread_gettime)(void) ;   5051 extern guint64 (*g_thread_gettime)(void) ;
5052 extern void g_thread_init(GThreadFunctions *vtable ) ;   5052 extern void g_thread_init(GThreadFunctions *vtable ) ;
5053 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;   5053 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;
5054 extern gboolean g_thread_get_initialized(void) ;   5054 extern gboolean g_thread_get_initialized(void) ;
5055 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;   5055 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;
5056 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,   5056 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,
5057                                      gpointer data , gulong stack_size ,   5057                                      gpointer data , gulong stack_size ,
5058                                      gboolean joinable , gboolean bound ,   5058                                      gboolean joinable , gboolean bound ,
5059                                      GThreadPriority priority , GError **error ) ;   5059                                      GThreadPriority priority , GError **error ) ;
5060 extern GThread *g_thread_self(void) ;   5060 extern GThread *g_thread_self(void) ;
5061 extern void g_thread_exit(gpointer retval ) ;   5061 extern void g_thread_exit(gpointer retval ) ;
5062 extern gpointer g_thread_join(GThread *thread ) ;   5062 extern gpointer g_thread_join(GThread *thread ) ;
5063 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;   5063 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;
5064 extern void g_static_mutex_init(GStaticMutex *mutex ) ;   5064 extern void g_static_mutex_init(GStaticMutex *mutex ) ;
5065 extern void g_static_mutex_free(GStaticMutex *mutex ) ;   5065 extern void g_static_mutex_free(GStaticMutex *mutex ) ;
5066 extern void g_static_private_init(GStaticPrivate *private_key ) ;   5066 extern void g_static_private_init(GStaticPrivate *private_key ) ;
5067 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;   5067 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;
5068 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,   5068 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,
5069                                  void (*notify)(gpointer data ) ) ;   5069                                  void (*notify)(gpointer data ) ) ;
5070 extern void g_static_private_free(GStaticPrivate *private_key ) ;   5070 extern void g_static_private_free(GStaticPrivate *private_key ) ;
5071 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;   5071 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;
5072 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;   5072 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;
5073 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;   5073 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;
5074 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;   5074 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;
5075 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;   5075 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;
5076 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;   5076 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;
5077 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;   5077 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;
5078 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;   5078 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;
5079 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;   5079 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;
5080 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;   5080 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;
5081 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;   5081 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;
5082 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;   5082 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;
5083 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;   5083 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;
5084 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;   5084 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;
5085 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;   5085 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;
5086 extern void g_thread_foreach(void (*thread_func)(gpointer data ,   5086 extern void g_thread_foreach(void (*thread_func)(gpointer data ,
5087                                                  gpointer user_data ) ,   5087                                                  gpointer user_data ) ,
5088                              gpointer user_data ) ;   5088                              gpointer user_data ) ;
5089 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,   5089 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,
5090                             gpointer arg ) ;   5090                             gpointer arg ) ;
5091 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   5091 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
5092 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;   5092 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;
5093 extern void g_once_init_leave(gsize volatile   *value_location ,   5093 extern void g_once_init_leave(gsize volatile   *value_location ,
5094                               gsize initialization_value ) ;   5094                               gsize initialization_value ) ;
5095 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   5095 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
5096 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )   5096 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )
5097 {   5097 {
5098   gboolean tmp ;   5098   gboolean tmp ;
5099   int _g_boolean_var_ ;   5099   int _g_boolean_var_ ;
5100   gpointer tmp___0 ;   5100   gpointer tmp___0 ;
5101   long tmp___1 ;   5101   long tmp___1 ;
5102     5102  
5103   {   5103   {
5104   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));   5104   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));
5105   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   5105   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
5106     _g_boolean_var_ = 1;   5106     _g_boolean_var_ = 1;
5107   } else {   5107   } else {
5108     _g_boolean_var_ = 0;   5108     _g_boolean_var_ = 0;
5109   }   5109   }
5110   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);   5110   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);
5111   if (tmp___1) {   5111   if (tmp___1) {
5112     return (0);   5112     return (0);
5113   } else {   5113   } else {
5114     tmp = g_once_init_enter_impl(value_location);   5114     tmp = g_once_init_enter_impl(value_location);
5115     return (tmp);   5115     return (tmp);
5116   }   5116   }
5117 }   5117 }
5118 }   5118 }
5119 extern void glib_dummy_decl(void) ;   5119 extern void glib_dummy_decl(void) ;
5120 extern GAsyncQueue *g_async_queue_new(void) ;   5120 extern GAsyncQueue *g_async_queue_new(void) ;
5121 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;   5121 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;
5122 extern void g_async_queue_lock(GAsyncQueue *queue ) ;   5122 extern void g_async_queue_lock(GAsyncQueue *queue ) ;
5123 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;   5123 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;
5124 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;   5124 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;
5125 extern void g_async_queue_unref(GAsyncQueue *queue ) ;   5125 extern void g_async_queue_unref(GAsyncQueue *queue ) ;
5126 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;   5126 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;
5127 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;   5127 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;
5128 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;   5128 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;
5129 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;   5129 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;
5130 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,   5130 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,
5131                                       gint (*func)(gconstpointer a ,   5131                                       gint (*func)(gconstpointer a ,
5132                                                    gconstpointer b ,   5132                                                    gconstpointer b ,
5133                                                    gpointer user_data ) ,   5133                                                    gpointer user_data ) ,
5134                                       gpointer user_data ) ;   5134                                       gpointer user_data ) ;
5135 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,   5135 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,
5136                                                gpointer data ,   5136                                                gpointer data ,
5137                                                gint (*func)(gconstpointer a ,   5137                                                gint (*func)(gconstpointer a ,
5138                                                             gconstpointer b ,   5138                                                             gconstpointer b ,
5139                                                             gpointer user_data ) ,   5139                                                             gpointer user_data ) ,
5140                                                gpointer user_data ) ;   5140                                                gpointer user_data ) ;
5141 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;   5141 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;
5142 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;   5142 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;
5143 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;   5143 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;
5144 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;   5144 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;
5145 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;   5145 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;
5146 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,   5146 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,
5147                                                  GTimeVal *end_time ) ;   5147                                                  GTimeVal *end_time ) ;
5148 extern gint g_async_queue_length(GAsyncQueue *queue ) ;   5148 extern gint g_async_queue_length(GAsyncQueue *queue ) ;
5149 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;   5149 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;
5150 extern void g_async_queue_sort(GAsyncQueue *queue ,   5150 extern void g_async_queue_sort(GAsyncQueue *queue ,
5151                                gint (*func)(gconstpointer a , gconstpointer b ,   5151                                gint (*func)(gconstpointer a , gconstpointer b ,
5152                                             gpointer user_data ) ,   5152                                             gpointer user_data ) ,
5153                                gpointer user_data ) ;   5153                                gpointer user_data ) ;
5154 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,   5154 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,
5155                                         gint (*func)(gconstpointer a ,   5155                                         gint (*func)(gconstpointer a ,
5156                                                      gconstpointer b ,   5156                                                      gconstpointer b ,
5157                                                      gpointer user_data ) ,   5157                                                      gpointer user_data ) ,
5158                                         gpointer user_data ) ;   5158                                         gpointer user_data ) ;
5159 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;   5159 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;
5160 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;   5160 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;
5161 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;   5161 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;
5162 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;   5162 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;
5163 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )   5163 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )
5164 {   5164 {
5165   unsigned long __mask ;   5165   unsigned long __mask ;
5166   unsigned long __word ;   5166   unsigned long __word ;
5167   int tmp ;   5167   int tmp ;
5168     5168  
5169   {   5169   {
5170   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5170   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5171   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5171   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5172   if (__set->__val[__word] & __mask) {   5172   if (__set->__val[__word] & __mask) {
5173     tmp = 1;   5173     tmp = 1;
5174   } else {   5174   } else {
5175     tmp = 0;   5175     tmp = 0;
5176   }   5176   }
5177   return (tmp);   5177   return (tmp);
5178 }   5178 }
5179 }   5179 }
5180 __inline extern int __sigaddset(__sigset_t *__set , int __sig )   5180 __inline extern int __sigaddset(__sigset_t *__set , int __sig )
5181 {   5181 {
5182   unsigned long __mask ;   5182   unsigned long __mask ;
5183   unsigned long __word ;   5183   unsigned long __word ;
5184     5184  
5185   {   5185   {
5186   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5186   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5187   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5187   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5188   __set->__val[__word] |= __mask;   5188   __set->__val[__word] |= __mask;
5189   return (0);   5189   return (0);
5190 }   5190 }
5191 }   5191 }
5192 __inline extern int __sigdelset(__sigset_t *__set , int __sig )   5192 __inline extern int __sigdelset(__sigset_t *__set , int __sig )
5193 {   5193 {
5194   unsigned long __mask ;   5194   unsigned long __mask ;
5195   unsigned long __word ;   5195   unsigned long __word ;
5196     5196  
5197   {   5197   {
5198   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5198   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5199   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5199   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5200   __set->__val[__word] &= ~ __mask;   5200   __set->__val[__word] &= ~ __mask;
5201   return (0);   5201   return (0);
5202 }   5202 }
5203 }   5203 }
5204 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,   5204 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,
5205                                                                   void (*__handler)(int  ) ) ;   5205                                                                   void (*__handler)(int  ) ) ;
5206 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,   5206 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,
5207                                                            void (*__handler)(int  ) ) ;   5207                                                            void (*__handler)(int  ) ) ;
5208 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;   5208 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;
5209 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;   5209 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;
5210 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;   5210 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;
5211 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,   5211 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,
5212                                                             void (*__handler)(int  ) ) ;   5212                                                             void (*__handler)(int  ) ) ;
5213 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;   5213 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;
5214 extern void psignal(int __sig , char const   *__s ) ;   5214 extern void psignal(int __sig , char const   *__s ) ;
5215 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;   5215 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;
5216 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;   5216 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;
5217 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;   5217 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;
5218 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;   5218 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;
5219 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;   5219 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;
5220 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;   5220 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;
5221 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;   5221 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;
5222 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,   5222 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,
5223                                                                                       int __signo ) ;   5223                                                                                       int __signo ) ;
5224 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,   5224 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,
5225                                                                                       int __signo ) ;   5225                                                                                       int __signo ) ;
5226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,   5226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,
5227                                                                                         int __signo ) ;   5227                                                                                         int __signo ) ;
5228 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,   5228 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,
5229                                                      sigset_t const   * __restrict  __set ,   5229                                                      sigset_t const   * __restrict  __set ,
5230                                                      sigset_t * __restrict  __oset ) ;   5230                                                      sigset_t * __restrict  __oset ) ;
5231 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;   5231 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;
5232 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,   5232 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,
5233                                                    struct sigaction  const  * __restrict  __act ,   5233                                                    struct sigaction  const  * __restrict  __act ,
5234                                                    struct sigaction * __restrict  __oact ) ;   5234                                                    struct sigaction * __restrict  __oact ) ;
5235 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;   5235 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;
5236 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,   5236 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,
5237                                                         int * __restrict  __sig ) ;   5237                                                         int * __restrict  __sig ) ;
5238 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,   5238 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,
5239                                                           siginfo_t * __restrict  __info ) ;   5239                                                           siginfo_t * __restrict  __info ) ;
5240 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,   5240 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,
5241                                                            siginfo_t * __restrict  __info ,   5241                                                            siginfo_t * __restrict  __info ,
5242                                                            struct timespec  const  * __restrict  __timeout ) ;   5242                                                            struct timespec  const  * __restrict  __timeout ) ;
5243 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,   5243 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,
5244                                                   union sigval  const  __val ) ;   5244                                                   union sigval  const  __val ) ;
5245 extern char const   * const  _sys_siglist[65] ;   5245 extern char const   * const  _sys_siglist[65] ;
5246 extern char const   * const  sys_siglist[65] ;   5246 extern char const   * const  sys_siglist[65] ;
5247 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,   5247 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,
5248                                                 struct sigvec  const  *__vec ,   5248                                                 struct sigvec  const  *__vec ,
5249                                                 struct sigvec *__ovec ) ;   5249                                                 struct sigvec *__ovec ) ;
5250 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;   5250 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;
5251 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,   5251 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,
5252                                                       int __interrupt ) ;   5252                                                       int __interrupt ) ;
5253 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,   5253 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,
5254                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;   5254                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;
5255 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,   5255 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,
5256                                                      struct sigaltstack * __restrict  __oss ) ;   5256                                                      struct sigaltstack * __restrict  __oss ) ;
5257 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,   5257 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,
5258                                                          __sigset_t const   * __restrict  __newmask ,   5258                                                          __sigset_t const   * __restrict  __newmask ,
5259                                                          __sigset_t * __restrict  __oldmask ) ;   5259                                                          __sigset_t * __restrict  __oldmask ) ;
5260 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,   5260 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,
5261                                                       int __signo ) ;   5261                                                       int __signo ) ;
5262 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;   5262 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;
5263 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;   5263 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;
5264 extern void g_on_error_query(gchar const   *prg_name ) ;   5264 extern void g_on_error_query(gchar const   *prg_name ) ;
5265 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;   5265 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;
5266 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,   5266 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,
5267                                   gboolean break_lines , gchar *out ,   5267                                   gboolean break_lines , gchar *out ,
5268                                   gint *state , gint *save ) ;   5268                                   gint *state , gint *save ) ;
5269 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,   5269 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,
5270                                    gint *state , gint *save ) ;   5270                                    gint *state , gint *save ) ;
5271 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;   5271 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;
5272 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,   5272 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,
5273                                   gint *state , guint *save ) ;   5273                                   gint *state , guint *save ) ;
5274 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;   5274 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;
5275 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;   5275 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;
5276 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;   5276 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;
5277 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;   5277 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;
5278 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;   5278 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;
5279 extern  __attribute__((__nothrow__)) clock_t clock(void) ;   5279 extern  __attribute__((__nothrow__)) clock_t clock(void) ;
5280 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;   5280 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;
5281 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,   5281 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,
5282                                                      time_t __time0 )  __attribute__((__const__)) ;   5282                                                      time_t __time0 )  __attribute__((__const__)) ;
5283 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;   5283 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;
5284 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,   5284 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,
5285                                                      size_t __maxsize ,   5285                                                      size_t __maxsize ,
5286                                                      char const   * __restrict  __format ,   5286                                                      char const   * __restrict  __format ,
5287                                                      struct tm  const  * __restrict  __tp ) ;   5287                                                      struct tm  const  * __restrict  __tp ) ;
5288 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,   5288 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,
5289                                                        size_t __maxsize ,   5289                                                        size_t __maxsize ,
5290                                                        char const   * __restrict  __format ,   5290                                                        char const   * __restrict  __format ,
5291                                                        struct tm  const  * __restrict  __tp ,   5291                                                        struct tm  const  * __restrict  __tp ,
5292                                                        __locale_t __loc ) ;   5292                                                        __locale_t __loc ) ;
5293 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;   5293 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;
5294 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;   5294 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;
5295 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,   5295 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,
5296                                                          struct tm * __restrict  __tp ) ;   5296                                                          struct tm * __restrict  __tp ) ;
5297 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,   5297 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,
5298                                                             struct tm * __restrict  __tp ) ;   5298                                                             struct tm * __restrict  __tp ) ;
5299 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;   5299 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;
5300 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;   5300 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;
5301 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,   5301 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,
5302                                                      char * __restrict  __buf ) ;   5302                                                      char * __restrict  __buf ) ;
5303 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,   5303 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,
5304                                                    char * __restrict  __buf ) ;   5304                                                    char * __restrict  __buf ) ;
5305 extern char *__tzname[2] ;   5305 extern char *__tzname[2] ;
5306 extern int __daylight ;   5306 extern int __daylight ;
5307 extern long __timezone ;   5307 extern long __timezone ;
5308 extern char *tzname[2] ;   5308 extern char *tzname[2] ;
5309 extern  __attribute__((__nothrow__)) void tzset(void) ;   5309 extern  __attribute__((__nothrow__)) void tzset(void) ;
5310 extern int daylight ;   5310 extern int daylight ;
5311 extern long timezone ;   5311 extern long timezone ;
5312 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;   5312 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;
5313 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;   5313 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;
5314 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;   5314 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;
5315 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;   5315 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;
5316 extern int nanosleep(struct timespec  const  *__requested_time ,   5316 extern int nanosleep(struct timespec  const  *__requested_time ,
5317                      struct timespec *__remaining ) ;   5317                      struct timespec *__remaining ) ;
5318 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,   5318 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,
5319                                                       struct timespec *__res ) ;   5319                                                       struct timespec *__res ) ;
5320 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,   5320 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,
5321                                                        struct timespec *__tp ) ;   5321                                                        struct timespec *__tp ) ;
5322 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,   5322 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,
5323                                                        struct timespec  const  *__tp ) ;   5323                                                        struct timespec  const  *__tp ) ;
5324 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,   5324 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,
5325                            struct timespec  const  *__req ,   5325                            struct timespec  const  *__req ,
5326                            struct timespec *__rem ) ;   5326                            struct timespec *__rem ) ;
5327 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,   5327 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,
5328                                                              clockid_t *__clock_id ) ;   5328                                                              clockid_t *__clock_id ) ;
5329 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,   5329 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,
5330                                                       struct sigevent * __restrict  __evp ,   5330                                                       struct sigevent * __restrict  __evp ,
5331                                                       timer_t * __restrict  __timerid ) ;   5331                                                       timer_t * __restrict  __timerid ) ;
5332 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;   5332 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;
5333 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,   5333 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,
5334                                                        int __flags ,   5334                                                        int __flags ,
5335                                                        struct itimerspec  const  * __restrict  __value ,   5335                                                        struct itimerspec  const  * __restrict  __value ,
5336                                                        struct itimerspec * __restrict  __ovalue ) ;   5336                                                        struct itimerspec * __restrict  __ovalue ) ;
5337 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,   5337 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,
5338                                                        struct itimerspec *__value ) ;   5338                                                        struct itimerspec *__value ) ;
5339 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;   5339 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;
5340 extern GQuark g_bookmark_file_error_quark(void) ;   5340 extern GQuark g_bookmark_file_error_quark(void) ;
5341 extern GBookmarkFile *g_bookmark_file_new(void) ;   5341 extern GBookmarkFile *g_bookmark_file_new(void) ;
5342 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;   5342 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;
5343 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,   5343 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,
5344                                                gchar const   *filename ,   5344                                                gchar const   *filename ,
5345                                                GError **error ) ;   5345                                                GError **error ) ;
5346 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,   5346 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,
5347                                                gchar const   *data ,   5347                                                gchar const   *data ,
5348                                                gsize length , GError **error ) ;   5348                                                gsize length , GError **error ) ;
5349 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,   5349 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,
5350                                                     gchar const   *file ,   5350                                                     gchar const   *file ,
5351                                                     gchar **full_path ,   5351                                                     gchar **full_path ,
5352                                                     GError **error ) ;   5352                                                     GError **error ) ;
5353 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,   5353 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,
5354                                       GError **error )  __attribute__((__malloc__)) ;   5354                                       GError **error )  __attribute__((__malloc__)) ;
5355 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,   5355 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,
5356                                         gchar const   *filename ,   5356                                         gchar const   *filename ,
5357                                         GError **error ) ;   5357                                         GError **error ) ;
5358 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,   5358 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,
5359                                       gchar const   *uri , gchar const   *title ) ;   5359                                       gchar const   *uri , gchar const   *title ) ;
5360 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,   5360 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,
5361                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   5361                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
5362 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,   5362 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,
5363                                             gchar const   *uri ,   5363                                             gchar const   *uri ,
5364                                             gchar const   *description ) ;   5364                                             gchar const   *description ) ;
5365 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,   5365 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,
5366                                               gchar const   *uri ,   5366                                               gchar const   *uri ,
5367                                               GError **error )  __attribute__((__malloc__)) ;   5367                                               GError **error )  __attribute__((__malloc__)) ;
5368 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,   5368 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,
5369                                           gchar const   *uri ,   5369                                           gchar const   *uri ,
5370                                           gchar const   *mime_type ) ;   5370                                           gchar const   *mime_type ) ;
5371 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,   5371 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,
5372                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   5372                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
5373 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,   5373 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,
5374                                        gchar const   *uri ,   5374                                        gchar const   *uri ,
5375                                        gchar const   **groups , gsize length ) ;   5375                                        gchar const   **groups , gsize length ) ;
5376 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,   5376 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,
5377                                       gchar const   *uri , gchar const   *group ) ;   5377                                       gchar const   *uri , gchar const   *group ) ;
5378 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,   5378 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,
5379                                           gchar const   *uri ,   5379                                           gchar const   *uri ,
5380                                           gchar const   *group , GError **error ) ;   5380                                           gchar const   *group , GError **error ) ;
5381 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,   5381 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,
5382                                           gchar const   *uri , gsize *length ,   5382                                           gchar const   *uri , gsize *length ,
5383                                           GError **error )  __attribute__((__malloc__)) ;   5383                                           GError **error )  __attribute__((__malloc__)) ;
5384 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,   5384 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,
5385                                             gchar const   *uri ,   5385                                             gchar const   *uri ,
5386                                             gchar const   *name ,   5386                                             gchar const   *name ,
5387                                             gchar const   *exec ) ;   5387                                             gchar const   *exec ) ;
5388 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,   5388 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,
5389                                                 gchar const   *uri ,   5389                                                 gchar const   *uri ,
5390                                                 gchar const   *name ,   5390                                                 gchar const   *name ,
5391                                                 GError **error ) ;   5391                                                 GError **error ) ;
5392 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,   5392 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,
5393                                                 gchar const   *uri ,   5393                                                 gchar const   *uri ,
5394                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;   5394                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;
5395 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,   5395 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,
5396                                              gchar const   *uri ,   5396                                              gchar const   *uri ,
5397                                              gchar const   *name ,   5397                                              gchar const   *name ,
5398                                              gchar const   *exec , gint count ,   5398                                              gchar const   *exec , gint count ,
5399                                              time_t stamp , GError **error ) ;   5399                                              time_t stamp , GError **error ) ;
5400 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,   5400 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,
5401                                              gchar const   *uri ,   5401                                              gchar const   *uri ,
5402                                              gchar const   *name ,   5402                                              gchar const   *name ,
5403                                              gchar **exec , guint *count ,   5403                                              gchar **exec , guint *count ,
5404                                              time_t *stamp , GError **error ) ;   5404                                              time_t *stamp , GError **error ) ;
5405 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,   5405 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,
5406                                            gchar const   *uri ,   5406                                            gchar const   *uri ,
5407                                            gboolean is_private ) ;   5407                                            gboolean is_private ) ;
5408 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,   5408 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,
5409                                                gchar const   *uri ,   5409                                                gchar const   *uri ,
5410                                                GError **error ) ;   5410                                                GError **error ) ;
5411 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,   5411 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,
5412                                      gchar const   *uri , gchar const   *href ,   5412                                      gchar const   *uri , gchar const   *href ,
5413                                      gchar const   *mime_type ) ;   5413                                      gchar const   *mime_type ) ;
5414 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,   5414 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,
5415                                          gchar const   *uri , gchar **href ,   5415                                          gchar const   *uri , gchar **href ,
5416                                          gchar **mime_type , GError **error ) ;   5416                                          gchar **mime_type , GError **error ) ;
5417 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,   5417 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,
5418                                       gchar const   *uri , time_t added ) ;   5418                                       gchar const   *uri , time_t added ) ;
5419 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,   5419 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,
5420                                         gchar const   *uri , GError **error ) ;   5420                                         gchar const   *uri , GError **error ) ;
5421 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,   5421 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,
5422                                          gchar const   *uri , time_t modified ) ;   5422                                          gchar const   *uri , time_t modified ) ;
5423 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,   5423 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,
5424                                            gchar const   *uri , GError **error ) ;   5424                                            gchar const   *uri , GError **error ) ;
5425 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,   5425 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,
5426                                         gchar const   *uri , time_t visited ) ;   5426                                         gchar const   *uri , time_t visited ) ;
5427 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,   5427 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,
5428                                           gchar const   *uri , GError **error ) ;   5428                                           gchar const   *uri , GError **error ) ;
5429 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,   5429 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,
5430                                          gchar const   *uri ) ;   5430                                          gchar const   *uri ) ;
5431 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;   5431 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;
5432 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;   5432 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;
5433 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,   5433 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,
5434                                              gchar const   *uri ,   5434                                              gchar const   *uri ,
5435                                              gchar const   *group ,   5435                                              gchar const   *group ,
5436                                              GError **error ) ;   5436                                              GError **error ) ;
5437 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,   5437 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,
5438                                                    gchar const   *uri ,   5438                                                    gchar const   *uri ,
5439                                                    gchar const   *name ,   5439                                                    gchar const   *name ,
5440                                                    GError **error ) ;   5440                                                    GError **error ) ;
5441 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,   5441 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,
5442                                             gchar const   *uri , GError **error ) ;   5442                                             gchar const   *uri , GError **error ) ;
5443 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,   5443 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,
5444                                           gchar const   *old_uri ,   5444                                           gchar const   *old_uri ,
5445                                           gchar const   *new_uri ,   5445                                           gchar const   *new_uri ,
5446                                           GError **error ) ;   5446                                           GError **error ) ;
5447 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,   5447 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,
5448 __alloc_size__(1))) ;   5448 __alloc_size__(1))) ;
5449 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,   5449 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,
5450 __alloc_size__(1))) ;   5450 __alloc_size__(1))) ;
5451 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,   5451 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,
5452 __alloc_size__(1))) ;   5452 __alloc_size__(1))) ;
5453 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;   5453 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;
5454 extern void g_slice_free_chain_with_offset(gsize block_size ,   5454 extern void g_slice_free_chain_with_offset(gsize block_size ,
5455                                            gpointer mem_chain ,   5455                                            gpointer mem_chain ,
5456                                            gsize next_offset ) ;   5456                                            gsize next_offset ) ;
5457 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;   5457 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;
5458 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;   5458 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;
5459 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,   5459 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,
5460                                         guint *n_values ) ;   5460                                         guint *n_values ) ;
5461 extern void g_free(gpointer mem ) ;   5461 extern void g_free(gpointer mem ) ;
5462 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,   5462 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,
5463 __alloc_size__(1))) ;   5463 __alloc_size__(1))) ;
5464 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,   5464 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,
5465 __alloc_size__(1))) ;   5465 __alloc_size__(1))) ;
5466 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,   5466 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,
5467                                                                      gsize n_bytes ) ;   5467                                                                      gsize n_bytes ) ;
5468 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,   5468 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,
5469 __alloc_size__(1))) ;   5469 __alloc_size__(1))) ;
5470 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,   5470 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,
5471 __alloc_size__(1))) ;   5471 __alloc_size__(1))) ;
5472 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,   5472 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,
5473                                                                          gsize n_bytes ) ;   5473                                                                          gsize n_bytes ) ;
5474 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5474 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5475 __alloc_size__(1,2))) ;   5475 __alloc_size__(1,2))) ;
5476 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5476 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5477 __alloc_size__(1,2))) ;   5477 __alloc_size__(1,2))) ;
5478 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,   5478 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,
5479                                                                        gsize n_blocks ,   5479                                                                        gsize n_blocks ,
5480                                                                        gsize n_block_bytes ) ;   5480                                                                        gsize n_block_bytes ) ;
5481 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5481 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5482 __alloc_size__(1,2))) ;   5482 __alloc_size__(1,2))) ;
5483 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5483 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5484 __alloc_size__(1,2))) ;   5484 __alloc_size__(1,2))) ;
5485 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,   5485 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,
5486                                                                            gsize n_blocks ,   5486                                                                            gsize n_blocks ,
5487                                                                            gsize n_block_bytes ) ;   5487                                                                            gsize n_block_bytes ) ;
5488 extern void g_mem_set_vtable(GMemVTable *vtable ) ;   5488 extern void g_mem_set_vtable(GMemVTable *vtable ) ;
5489 extern gboolean g_mem_is_system_malloc(void) ;   5489 extern gboolean g_mem_is_system_malloc(void) ;
5490 extern gboolean g_mem_gc_friendly ;   5490 extern gboolean g_mem_gc_friendly ;
5491 extern GMemVTable *glib_mem_profiler_table ;   5491 extern GMemVTable *glib_mem_profiler_table ;
5492 extern void g_mem_profile(void) ;   5492 extern void g_mem_profile(void) ;
5493 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,   5493 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,
5494                                   gsize area_size , gint type ) ;   5494                                   gsize area_size , gint type ) ;
5495 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;   5495 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;
5496 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;   5496 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;
5497 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;   5497 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;
5498 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;   5498 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;
5499 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;   5499 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;
5500 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;   5500 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;
5501 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;   5501 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;
5502 extern void g_mem_chunk_info(void) ;   5502 extern void g_mem_chunk_info(void) ;
5503 extern void g_blow_chunks(void) ;   5503 extern void g_blow_chunks(void) ;
5504 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;   5504 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;
5505 extern void g_allocator_free(GAllocator *allocator ) ;   5505 extern void g_allocator_free(GAllocator *allocator ) ;
5506 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;   5506 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;
5507 extern void g_list_free(GList *list ) ;   5507 extern void g_list_free(GList *list ) ;
5508 extern void g_list_free_1(GList *list ) ;   5508 extern void g_list_free_1(GList *list ) ;
5509 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,   5509 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,
5510                                                                        gpointer data ) ;   5510                                                                        gpointer data ) ;
5511 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,   5511 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,
5512                                                                         gpointer data ) ;   5512                                                                         gpointer data ) ;
5513 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,   5513 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,
5514                                                                        gpointer data ,   5514                                                                        gpointer data ,
5515                                                                        gint position ) ;   5515                                                                        gint position ) ;
5516 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,   5516 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,
5517                                                                               gpointer data ,   5517                                                                               gpointer data ,
5518                                                                               gint (*func)(gconstpointer a ,   5518                                                                               gint (*func)(gconstpointer a ,
5519                                                                                            gconstpointer b ) ) ;   5519                                                                                            gconstpointer b ) ) ;
5520 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,   5520 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,
5521                                                                                         gpointer data ,   5521                                                                                         gpointer data ,
5522                                                                                         gint (*func)(gconstpointer a ,   5522                                                                                         gint (*func)(gconstpointer a ,
5523                                                                                                      gconstpointer b ,   5523                                                                                                      gconstpointer b ,
5524                                                                                                      gpointer user_data ) ,   5524                                                                                                      gpointer user_data ) ,
5525                                                                                         gpointer user_data ) ;   5525                                                                                         gpointer user_data ) ;
5526 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,   5526 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,
5527                                                                               GList *sibling ,   5527                                                                               GList *sibling ,
5528                                                                               gpointer data ) ;   5528                                                                               gpointer data ) ;
5529 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,   5529 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,
5530                                                                        GList *list2 ) ;   5530                                                                        GList *list2 ) ;
5531 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,   5531 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,
5532                                                                        gconstpointer data ) ;   5532                                                                        gconstpointer data ) ;
5533 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,   5533 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,
5534                                                                            gconstpointer data ) ;   5534                                                                            gconstpointer data ) ;
5535 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,   5535 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,
5536                                                                             GList *llink ) ;   5536                                                                             GList *llink ) ;
5537 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,   5537 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,
5538                                                                             GList *link_ ) ;   5538                                                                             GList *link_ ) ;
5539 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;   5539 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;
5540 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;   5540 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;
5541 extern GList *g_list_nth(GList *list , guint n ) ;   5541 extern GList *g_list_nth(GList *list , guint n ) ;
5542 extern GList *g_list_nth_prev(GList *list , guint n ) ;   5542 extern GList *g_list_nth_prev(GList *list , guint n ) ;
5543 extern GList *g_list_find(GList *list , gconstpointer data ) ;   5543 extern GList *g_list_find(GList *list , gconstpointer data ) ;
5544 extern GList *g_list_find_custom(GList *list , gconstpointer data ,   5544 extern GList *g_list_find_custom(GList *list , gconstpointer data ,
5545                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;   5545                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;
5546 extern gint g_list_position(GList *list , GList *llink ) ;   5546 extern gint g_list_position(GList *list , GList *llink ) ;
5547 extern gint g_list_index(GList *list , gconstpointer data ) ;   5547 extern gint g_list_index(GList *list , gconstpointer data ) ;
5548 extern GList *g_list_last(GList *list ) ;   5548 extern GList *g_list_last(GList *list ) ;
5549 extern GList *g_list_first(GList *list ) ;   5549 extern GList *g_list_first(GList *list ) ;
5550 extern guint g_list_length(GList *list ) ;   5550 extern guint g_list_length(GList *list ) ;
5551 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,   5551 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,
5552                                                       gpointer user_data ) ,   5552                                                       gpointer user_data ) ,
5553                            gpointer user_data ) ;   5553                            gpointer user_data ) ;
5554 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,   5554 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,
5555                                                                      gint (*compare_func)(gconstpointer a ,   5555                                                                      gint (*compare_func)(gconstpointer a ,
5556                                                                                           gconstpointer b ) ) ;   5556                                                                                           gconstpointer b ) ) ;
5557 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,   5557 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,
5558                                                                                gint (*compare_func)(gconstpointer a ,   5558                                                                                gint (*compare_func)(gconstpointer a ,
5559                                                                                                     gconstpointer b ,   5559                                                                                                     gconstpointer b ,
5560                                                                                                     gpointer user_data ) ,   5560                                                                                                     gpointer user_data ) ,
5561                                                                                gpointer user_data ) ;   5561                                                                                gpointer user_data ) ;
5562 extern gpointer g_list_nth_data(GList *list , guint n ) ;   5562 extern gpointer g_list_nth_data(GList *list , guint n ) ;
5563 extern void g_list_push_allocator(gpointer allocator ) ;   5563 extern void g_list_push_allocator(gpointer allocator ) ;
5564 extern void g_list_pop_allocator(void) ;   5564 extern void g_list_pop_allocator(void) ;
5565 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,   5565 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,
5566                            void (*value_destroy_func)(gpointer value ) ,   5566                            void (*value_destroy_func)(gpointer value ) ,
5567                            gpointer (*key_dup_func)(gpointer value ) ,   5567                            gpointer (*key_dup_func)(gpointer value ) ,
5568                            void (*key_destroy_func)(gpointer value ) ,   5568                            void (*key_destroy_func)(gpointer value ) ,
5569                            guint (*hash_key_func)(gconstpointer key ) ,   5569                            guint (*hash_key_func)(gconstpointer key ) ,
5570                            guint (*hash_value_func)(gconstpointer key ) ,   5570                            guint (*hash_value_func)(gconstpointer key ) ,
5571                            gboolean (*key_equal_func)(gconstpointer a ,   5571                            gboolean (*key_equal_func)(gconstpointer a ,
5572                                                       gconstpointer b ) ) ;   5572                                                       gconstpointer b ) ) ;
5573 extern void g_cache_destroy(GCache *cache ) ;   5573 extern void g_cache_destroy(GCache *cache ) ;
5574 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;   5574 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;
5575 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;   5575 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;
5576 extern void g_cache_key_foreach(GCache *cache ,   5576 extern void g_cache_key_foreach(GCache *cache ,
5577                                 void (*func)(gpointer key , gpointer value ,   5577                                 void (*func)(gpointer key , gpointer value ,
5578                                              gpointer user_data ) ,   5578                                              gpointer user_data ) ,
5579                                 gpointer user_data ) ;   5579                                 gpointer user_data ) ;
5580 extern void g_cache_value_foreach(GCache *cache ,   5580 extern void g_cache_value_foreach(GCache *cache ,
5581                                   void (*func)(gpointer key , gpointer value ,   5581                                   void (*func)(gpointer key , gpointer value ,
5582                                                gpointer user_data ) ,   5582                                                gpointer user_data ) ,
5583                                   gpointer user_data ) ;   5583                                   gpointer user_data ) ;
5584 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;   5584 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;
5585 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;   5585 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;
5586 extern void g_checksum_reset(GChecksum *checksum ) ;   5586 extern void g_checksum_reset(GChecksum *checksum ) ;
5587 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;   5587 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;
5588 extern void g_checksum_free(GChecksum *checksum ) ;   5588 extern void g_checksum_free(GChecksum *checksum ) ;
5589 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,   5589 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,
5590                               gssize length ) ;   5590                               gssize length ) ;
5591 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;   5591 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;
5592 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,   5592 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,
5593                                   gsize *digest_len ) ;   5593                                   gsize *digest_len ) ;
5594 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,   5594 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,
5595                                           guchar const   *data , gsize length ) ;   5595                                           guchar const   *data , gsize length ) ;
5596 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,   5596 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,
5597                                             gchar const   *str , gssize length ) ;   5597                                             gchar const   *str , gssize length ) ;
5598 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;   5598 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;
5599 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;   5599 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;
5600 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;   5600 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;
5601 extern void g_completion_clear_items(GCompletion *cmp ) ;   5601 extern void g_completion_clear_items(GCompletion *cmp ) ;
5602 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,   5602 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,
5603                                     gchar **new_prefix ) ;   5603                                     gchar **new_prefix ) ;
5604 extern GList *g_completion_complete_utf8(GCompletion *cmp ,   5604 extern GList *g_completion_complete_utf8(GCompletion *cmp ,
5605                                          gchar const   *prefix ,   5605                                          gchar const   *prefix ,
5606                                          gchar **new_prefix ) ;   5606                                          gchar **new_prefix ) ;
5607 extern void g_completion_set_compare(GCompletion *cmp ,   5607 extern void g_completion_set_compare(GCompletion *cmp ,
5608                                      gint (*strncmp_func)(gchar const   *s1 ,   5608                                      gint (*strncmp_func)(gchar const   *s1 ,
5609                                                           gchar const   *s2 ,   5609                                                           gchar const   *s2 ,
5610                                                           gsize n ) ) ;   5610                                                           gsize n ) ) ;
5611 extern void g_completion_free(GCompletion *cmp ) ;   5611 extern void g_completion_free(GCompletion *cmp ) ;
5612 extern GQuark g_convert_error_quark(void) ;   5612 extern GQuark g_convert_error_quark(void) ;
5613 extern GIConv g_iconv_open(gchar const   *to_codeset ,   5613 extern GIConv g_iconv_open(gchar const   *to_codeset ,
5614                            gchar const   *from_codeset ) ;   5614                            gchar const   *from_codeset ) ;
5615 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,   5615 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,
5616                      gchar **outbuf , gsize *outbytes_left ) ;   5616                      gchar **outbuf , gsize *outbytes_left ) ;
5617 extern gint g_iconv_close(GIConv converter ) ;   5617 extern gint g_iconv_close(GIConv converter ) ;
5618 extern gchar *g_convert(gchar const   *str , gssize len ,   5618 extern gchar *g_convert(gchar const   *str , gssize len ,
5619                         gchar const   *to_codeset ,   5619                         gchar const   *to_codeset ,
5620                         gchar const   *from_codeset , gsize *bytes_read ,   5620                         gchar const   *from_codeset , gsize *bytes_read ,
5621                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   5621                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
5622 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,   5622 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,
5623                                    GIConv converter , gsize *bytes_read ,   5623                                    GIConv converter , gsize *bytes_read ,
5624                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   5624                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
5625 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,   5625 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,
5626                                       gchar const   *to_codeset ,   5626                                       gchar const   *to_codeset ,
5627                                       gchar const   *from_codeset ,   5627                                       gchar const   *from_codeset ,
5628                                       gchar const   *fallback ,   5628                                       gchar const   *fallback ,
5629                                       gsize *bytes_read , gsize *bytes_written ,   5629                                       gsize *bytes_read , gsize *bytes_written ,
5630                                       GError **error )  __attribute__((__malloc__)) ;   5630                                       GError **error )  __attribute__((__malloc__)) ;
5631 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,   5631 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,
5632                                gsize *bytes_read , gsize *bytes_written ,   5632                                gsize *bytes_read , gsize *bytes_written ,
5633                                GError **error )  __attribute__((__malloc__)) ;   5633                                GError **error )  __attribute__((__malloc__)) ;
5634 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,   5634 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,
5635                                  gsize *bytes_read , gsize *bytes_written ,   5635                                  gsize *bytes_read , gsize *bytes_written ,
5636                                  GError **error )  __attribute__((__malloc__)) ;   5636                                  GError **error )  __attribute__((__malloc__)) ;
5637 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,   5637 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,
5638                                  gsize *bytes_read , gsize *bytes_written ,   5638                                  gsize *bytes_read , gsize *bytes_written ,
5639                                  GError **error )  __attribute__((__malloc__)) ;   5639                                  GError **error )  __attribute__((__malloc__)) ;
5640 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,   5640 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,
5641                                    gsize *bytes_read , gsize *bytes_written ,   5641                                    gsize *bytes_read , gsize *bytes_written ,
5642                                    GError **error )  __attribute__((__malloc__)) ;   5642                                    GError **error )  __attribute__((__malloc__)) ;
5643 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,   5643 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,
5644                                   GError **error )  __attribute__((__malloc__)) ;   5644                                   GError **error )  __attribute__((__malloc__)) ;
5645 extern gchar *g_filename_to_uri(gchar const   *filename ,   5645 extern gchar *g_filename_to_uri(gchar const   *filename ,
5646                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;   5646                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;
5647 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;   5647 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;
5648 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;   5648 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;
5649 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;   5649 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;
5650 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;   5650 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;
5651 extern void g_datalist_init(GData **datalist ) ;   5651 extern void g_datalist_init(GData **datalist ) ;
5652 extern void g_datalist_clear(GData **datalist ) ;   5652 extern void g_datalist_clear(GData **datalist ) ;
5653 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;   5653 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;
5654 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,   5654 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,
5655                                         gpointer data ,   5655                                         gpointer data ,
5656                                         void (*destroy_func)(gpointer data ) ) ;   5656                                         void (*destroy_func)(gpointer data ) ) ;
5657 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;   5657 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;
5658 extern void g_datalist_foreach(GData **datalist ,   5658 extern void g_datalist_foreach(GData **datalist ,
5659                                void (*func)(GQuark key_id , gpointer data ,   5659                                void (*func)(GQuark key_id , gpointer data ,
5660                                             gpointer user_data ) ,   5660                                             gpointer user_data ) ,
5661                                gpointer user_data ) ;   5661                                gpointer user_data ) ;
5662 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;   5662 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;
5663 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;   5663 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;
5664 extern guint g_datalist_get_flags(GData **datalist ) ;   5664 extern guint g_datalist_get_flags(GData **datalist ) ;
5665 extern void g_dataset_destroy(gconstpointer dataset_location ) ;   5665 extern void g_dataset_destroy(gconstpointer dataset_location ) ;
5666 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,   5666 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,
5667                                       GQuark key_id ) ;   5667                                       GQuark key_id ) ;
5668 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,   5668 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,
5669                                        GQuark key_id , gpointer data ,   5669                                        GQuark key_id , gpointer data ,
5670                                        void (*destroy_func)(gpointer data ) ) ;   5670                                        void (*destroy_func)(gpointer data ) ) ;
5671 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,   5671 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,
5672                                               GQuark key_id ) ;   5672                                               GQuark key_id ) ;
5673 extern void g_dataset_foreach(gconstpointer dataset_location ,   5673 extern void g_dataset_foreach(gconstpointer dataset_location ,
5674                               void (*func)(GQuark key_id , gpointer data ,   5674                               void (*func)(GQuark key_id , gpointer data ,
5675                                            gpointer user_data ) ,   5675                                            gpointer user_data ) ,
5676                               gpointer user_data ) ;   5676                               gpointer user_data ) ;
5677 extern GDate *g_date_new(void) ;   5677 extern GDate *g_date_new(void) ;
5678 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;   5678 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;
5679 extern GDate *g_date_new_julian(guint32 julian_day ) ;   5679 extern GDate *g_date_new_julian(guint32 julian_day ) ;
5680 extern void g_date_free(GDate *date ) ;   5680 extern void g_date_free(GDate *date ) ;
5681 extern gboolean g_date_valid(GDate const   *date ) ;   5681 extern gboolean g_date_valid(GDate const   *date ) ;
5682 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;   5682 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;
5683 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;   5683 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;
5684 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;   5684 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;
5685 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;   5685 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;
5686 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;   5686 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;
5687 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,   5687 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,
5688                                  GDateYear year )  __attribute__((__const__)) ;   5688                                  GDateYear year )  __attribute__((__const__)) ;
5689 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;   5689 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;
5690 extern GDateMonth g_date_get_month(GDate const   *date ) ;   5690 extern GDateMonth g_date_get_month(GDate const   *date ) ;
5691 extern GDateYear g_date_get_year(GDate const   *date ) ;   5691 extern GDateYear g_date_get_year(GDate const   *date ) ;
5692 extern GDateDay g_date_get_day(GDate const   *date ) ;   5692 extern GDateDay g_date_get_day(GDate const   *date ) ;
5693 extern guint32 g_date_get_julian(GDate const   *date ) ;   5693 extern guint32 g_date_get_julian(GDate const   *date ) ;
5694 extern guint g_date_get_day_of_year(GDate const   *date ) ;   5694 extern guint g_date_get_day_of_year(GDate const   *date ) ;
5695 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;   5695 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;
5696 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;   5696 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;
5697 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;   5697 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;
5698 extern void g_date_clear(GDate *date , guint n_dates ) ;   5698 extern void g_date_clear(GDate *date , guint n_dates ) ;
5699 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;   5699 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;
5700 extern void g_date_set_time_t(GDate *date , time_t timet ) ;   5700 extern void g_date_set_time_t(GDate *date , time_t timet ) ;
5701 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;   5701 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;
5702 extern void g_date_set_time(GDate *date , GTime time_ ) ;   5702 extern void g_date_set_time(GDate *date , GTime time_ ) ;
5703 extern void g_date_set_month(GDate *date , GDateMonth month ) ;   5703 extern void g_date_set_month(GDate *date , GDateMonth month ) ;
5704 extern void g_date_set_day(GDate *date , GDateDay day ) ;   5704 extern void g_date_set_day(GDate *date , GDateDay day ) ;
5705 extern void g_date_set_year(GDate *date , GDateYear year ) ;   5705 extern void g_date_set_year(GDate *date , GDateYear year ) ;
5706 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,   5706 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,
5707                            GDateYear y ) ;   5707                            GDateYear y ) ;
5708 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;   5708 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;
5709 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;   5709 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;
5710 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;   5710 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;
5711 extern void g_date_add_days(GDate *date , guint n_days ) ;   5711 extern void g_date_add_days(GDate *date , guint n_days ) ;
5712 extern void g_date_subtract_days(GDate *date , guint n_days ) ;   5712 extern void g_date_subtract_days(GDate *date , guint n_days ) ;
5713 extern void g_date_add_months(GDate *date , guint n_months ) ;   5713 extern void g_date_add_months(GDate *date , guint n_months ) ;
5714 extern void g_date_subtract_months(GDate *date , guint n_months ) ;   5714 extern void g_date_subtract_months(GDate *date , guint n_months ) ;
5715 extern void g_date_add_years(GDate *date , guint n_years ) ;   5715 extern void g_date_add_years(GDate *date , guint n_years ) ;
5716 extern void g_date_subtract_years(GDate *date , guint n_years ) ;   5716 extern void g_date_subtract_years(GDate *date , guint n_years ) ;
5717 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;   5717 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;
5718 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;   5718 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;
5719 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   5719 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
5720 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   5720 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
5721 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;   5721 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;
5722 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;   5722 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;
5723 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;   5723 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;
5724 extern void g_date_clamp(GDate *date , GDate const   *min_date ,   5724 extern void g_date_clamp(GDate *date , GDate const   *min_date ,
5725                          GDate const   *max_date ) ;   5725                          GDate const   *max_date ) ;
5726 extern void g_date_order(GDate *date1 , GDate *date2 ) ;   5726 extern void g_date_order(GDate *date1 , GDate *date2 ) ;
5727 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,   5727 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,
5728                              GDate const   *date ) ;   5728                              GDate const   *date ) ;
5729 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;   5729 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;
5730 extern gchar const   *g_dir_read_name(GDir *dir ) ;   5730 extern gchar const   *g_dir_read_name(GDir *dir ) ;
5731 extern void g_dir_rewind(GDir *dir ) ;   5731 extern void g_dir_rewind(GDir *dir ) ;
5732 extern void g_dir_close(GDir *dir ) ;   5732 extern void g_dir_close(GDir *dir ) ;
5733 extern GQuark g_file_error_quark(void) ;   5733 extern GQuark g_file_error_quark(void) ;
5734 extern GFileError g_file_error_from_errno(gint err_no ) ;   5734 extern GFileError g_file_error_from_errno(gint err_no ) ;
5735 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;   5735 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;
5736 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,   5736 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,
5737                                     gsize *length , GError **error ) ;   5737                                     gsize *length , GError **error ) ;
5738 extern gboolean g_file_set_contents(gchar const   *filename ,   5738 extern gboolean g_file_set_contents(gchar const   *filename ,
5739                                     gchar const   *contents , gssize length ,   5739                                     gchar const   *contents , gssize length ,
5740                                     GError **error ) ;   5740                                     GError **error ) ;
5741 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;   5741 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;
5742 extern gint g_mkstemp(gchar *tmpl ) ;   5742 extern gint g_mkstemp(gchar *tmpl ) ;
5743 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;   5743 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;
5744 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,   5744 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,
5745                             GError **error ) ;   5745                             GError **error ) ;
5746 extern char *g_format_size_for_display(goffset size ) ;   5746 extern char *g_format_size_for_display(goffset size ) ;
5747 extern gchar *g_build_path(gchar const   *separator ,   5747 extern gchar *g_build_path(gchar const   *separator ,
5748                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,   5748                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,
5749 __malloc__)) ;   5749 __malloc__)) ;
5750 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;   5750 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;
5751 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,   5751 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,
5752 __malloc__)) ;   5752 __malloc__)) ;
5753 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;   5753 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;
5754 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;   5754 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;
5755 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,   5755 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,
5756                                     gboolean (*key_equal_func)(gconstpointer a ,   5756                                     gboolean (*key_equal_func)(gconstpointer a ,
5757                                                                gconstpointer b ) ) ;   5757                                                                gconstpointer b ) ) ;
5758 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,   5758 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,
5759                                          gboolean (*key_equal_func)(gconstpointer a ,   5759                                          gboolean (*key_equal_func)(gconstpointer a ,
5760                                                                     gconstpointer b ) ,   5760                                                                     gconstpointer b ) ,
5761                                          void (*key_destroy_func)(gpointer data ) ,   5761                                          void (*key_destroy_func)(gpointer data ) ,
5762                                          void (*value_destroy_func)(gpointer data ) ) ;   5762                                          void (*value_destroy_func)(gpointer data ) ) ;
5763 extern void g_hash_table_destroy(GHashTable *hash_table ) ;   5763 extern void g_hash_table_destroy(GHashTable *hash_table ) ;
5764 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,   5764 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,
5765                                 gpointer value ) ;   5765                                 gpointer value ) ;
5766 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,   5766 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,
5767                                  gpointer value ) ;   5767                                  gpointer value ) ;
5768 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;   5768 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;
5769 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;   5769 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;
5770 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;   5770 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;
5771 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;   5771 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;
5772 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;   5772 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;
5773 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,   5773 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,
5774                                              gconstpointer lookup_key ,   5774                                              gconstpointer lookup_key ,
5775                                              gpointer *orig_key ,   5775                                              gpointer *orig_key ,
5776                                              gpointer *value ) ;   5776                                              gpointer *value ) ;
5777 extern void g_hash_table_foreach(GHashTable *hash_table ,   5777 extern void g_hash_table_foreach(GHashTable *hash_table ,
5778                                  void (*func)(gpointer key , gpointer value ,   5778                                  void (*func)(gpointer key , gpointer value ,
5779                                               gpointer user_data ) ,   5779                                               gpointer user_data ) ,
5780                                  gpointer user_data ) ;   5780                                  gpointer user_data ) ;
5781 extern gpointer g_hash_table_find(GHashTable *hash_table ,   5781 extern gpointer g_hash_table_find(GHashTable *hash_table ,
5782                                   gboolean (*predicate)(gpointer key ,   5782                                   gboolean (*predicate)(gpointer key ,
5783                                                         gpointer value ,   5783                                                         gpointer value ,
5784                                                         gpointer user_data ) ,   5784                                                         gpointer user_data ) ,
5785                                   gpointer user_data ) ;   5785                                   gpointer user_data ) ;
5786 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,   5786 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,
5787                                          gboolean (*func)(gpointer key ,   5787                                          gboolean (*func)(gpointer key ,
5788                                                           gpointer value ,   5788                                                           gpointer value ,
5789                                                           gpointer user_data ) ,   5789                                                           gpointer user_data ) ,
5790                                          gpointer user_data ) ;   5790                                          gpointer user_data ) ;
5791 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,   5791 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,
5792                                         gboolean (*func)(gpointer key ,   5792                                         gboolean (*func)(gpointer key ,
5793                                                          gpointer value ,   5793                                                          gpointer value ,
5794                                                          gpointer user_data ) ,   5794                                                          gpointer user_data ) ,
5795                                         gpointer user_data ) ;   5795                                         gpointer user_data ) ;
5796 extern guint g_hash_table_size(GHashTable *hash_table ) ;   5796 extern guint g_hash_table_size(GHashTable *hash_table ) ;
5797 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;   5797 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;
5798 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;   5798 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;
5799 extern void g_hash_table_iter_init(GHashTableIter *iter ,   5799 extern void g_hash_table_iter_init(GHashTableIter *iter ,
5800                                    GHashTable *hash_table ) ;   5800                                    GHashTable *hash_table ) ;
5801 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,   5801 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,
5802                                        gpointer *value ) ;   5802                                        gpointer *value ) ;
5803 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;   5803 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;
5804 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;   5804 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;
5805 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;   5805 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;
5806 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;   5806 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;
5807 extern void g_hash_table_unref(GHashTable *hash_table ) ;   5807 extern void g_hash_table_unref(GHashTable *hash_table ) ;
5808 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;   5808 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;
5809 extern guint g_str_hash(gconstpointer v ) ;   5809 extern guint g_str_hash(gconstpointer v ) ;
5810 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;   5810 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;
5811 extern guint g_int_hash(gconstpointer v ) ;   5811 extern guint g_int_hash(gconstpointer v ) ;
5812 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;   5812 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;
5813 extern guint g_int64_hash(gconstpointer v ) ;   5813 extern guint g_int64_hash(gconstpointer v ) ;
5814 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;   5814 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;
5815 extern guint g_double_hash(gconstpointer v ) ;   5815 extern guint g_double_hash(gconstpointer v ) ;
5816 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;   5816 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;
5817 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;   5817 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;
5818 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;   5818 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;
5819 extern void g_hook_list_clear(GHookList *hook_list ) ;   5819 extern void g_hook_list_clear(GHookList *hook_list ) ;
5820 extern GHook *g_hook_alloc(GHookList *hook_list ) ;   5820 extern GHook *g_hook_alloc(GHookList *hook_list ) ;
5821 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;   5821 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;
5822 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;   5822 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;
5823 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;   5823 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;
5824 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;   5824 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;
5825 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;   5825 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;
5826 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;   5826 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;
5827 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,   5827 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,
5828                                  GHook *hook ) ;   5828                                  GHook *hook ) ;
5829 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,   5829 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,
5830                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;   5830                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;
5831 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;   5831 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;
5832 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,   5832 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,
5833                           gboolean (*func)(GHook *hook , gpointer data ) ,   5833                           gboolean (*func)(GHook *hook , gpointer data ) ,
5834                           gpointer data ) ;   5834                           gpointer data ) ;
5835 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,   5835 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,
5836                                gpointer data ) ;   5836                                gpointer data ) ;
5837 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,   5837 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,
5838                                gpointer func ) ;   5838                                gpointer func ) ;
5839 extern GHook *g_hook_find_func_data(GHookList *hook_list ,   5839 extern GHook *g_hook_find_func_data(GHookList *hook_list ,
5840                                     gboolean need_valids , gpointer func ,   5840                                     gboolean need_valids , gpointer func ,
5841                                     gpointer data ) ;   5841                                     gpointer data ) ;
5842 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;   5842 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;
5843 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,   5843 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,
5844                                 gboolean may_be_in_call ) ;   5844                                 gboolean may_be_in_call ) ;
5845 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;   5845 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;
5846 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;   5846 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;
5847 extern void g_hook_list_invoke_check(GHookList *hook_list ,   5847 extern void g_hook_list_invoke_check(GHookList *hook_list ,
5848                                      gboolean may_recurse ) ;   5848                                      gboolean may_recurse ) ;
5849 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,   5849 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,
5850                                 void (*marshaller)(GHook *hook ,   5850                                 void (*marshaller)(GHook *hook ,
5851                                                    gpointer marshal_data ) ,   5851                                                    gpointer marshal_data ) ,
5852                                 gpointer marshal_data ) ;   5852                                 gpointer marshal_data ) ;
5853 extern void g_hook_list_marshal_check(GHookList *hook_list ,   5853 extern void g_hook_list_marshal_check(GHookList *hook_list ,
5854                                       gboolean may_recurse ,   5854                                       gboolean may_recurse ,
5855                                       gboolean (*marshaller)(GHook *hook ,   5855                                       gboolean (*marshaller)(GHook *hook ,
5856                                                              gpointer marshal_data ) ,   5856                                                              gpointer marshal_data ) ,
5857                                       gpointer marshal_data ) ;   5857                                       gpointer marshal_data ) ;
5858 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;   5858 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;
5859 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;   5859 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;
5860 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;   5860 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;
5861 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;   5861 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;
5862 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;   5862 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;
5863 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;   5863 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;
5864 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;   5864 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;
5865 extern void g_slist_free(GSList *list ) ;   5865 extern void g_slist_free(GSList *list ) ;
5866 extern void g_slist_free_1(GSList *list ) ;   5866 extern void g_slist_free_1(GSList *list ) ;
5867 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,   5867 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,
5868                                                                          gpointer data ) ;   5868                                                                          gpointer data ) ;
5869 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,   5869 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,
5870                                                                           gpointer data ) ;   5870                                                                           gpointer data ) ;
5871 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,   5871 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,
5872                                                                          gpointer data ,   5872                                                                          gpointer data ,
5873                                                                          gint position ) ;   5873                                                                          gint position ) ;
5874 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,   5874 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,
5875                                                                                 gpointer data ,   5875                                                                                 gpointer data ,
5876                                                                                 gint (*func)(gconstpointer a ,   5876                                                                                 gint (*func)(gconstpointer a ,
5877                                                                                              gconstpointer b ) ) ;   5877                                                                                              gconstpointer b ) ) ;
5878 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,   5878 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,
5879                                                                                           gpointer data ,   5879                                                                                           gpointer data ,
5880                                                                                           gint (*func)(gconstpointer a ,   5880                                                                                           gint (*func)(gconstpointer a ,
5881                                                                                                        gconstpointer b ,   5881                                                                                                        gconstpointer b ,
5882                                                                                                        gpointer user_data ) ,   5882                                                                                                        gpointer user_data ) ,
5883                                                                                           gpointer user_data ) ;   5883                                                                                           gpointer user_data ) ;
5884 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,   5884 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,
5885                                                                                 GSList *sibling ,   5885                                                                                 GSList *sibling ,
5886                                                                                 gpointer data ) ;   5886                                                                                 gpointer data ) ;
5887 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,   5887 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,
5888                                                                          GSList *list2 ) ;   5888                                                                          GSList *list2 ) ;
5889 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,   5889 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,
5890                                                                          gconstpointer data ) ;   5890                                                                          gconstpointer data ) ;
5891 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,   5891 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,
5892                                                                              gconstpointer data ) ;   5892                                                                              gconstpointer data ) ;
5893 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,   5893 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,
5894                                                                               GSList *link_ ) ;   5894                                                                               GSList *link_ ) ;
5895 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,   5895 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,
5896                                                                               GSList *link_ ) ;   5896                                                                               GSList *link_ ) ;
5897 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;   5897 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;
5898 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;   5898 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;
5899 extern GSList *g_slist_nth(GSList *list , guint n ) ;   5899 extern GSList *g_slist_nth(GSList *list , guint n ) ;
5900 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;   5900 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;
5901 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,   5901 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,
5902                                    gint (*func)(gconstpointer a ,   5902                                    gint (*func)(gconstpointer a ,
5903                                                 gconstpointer b ) ) ;   5903                                                 gconstpointer b ) ) ;
5904 extern gint g_slist_position(GSList *list , GSList *llink ) ;   5904 extern gint g_slist_position(GSList *list , GSList *llink ) ;
5905 extern gint g_slist_index(GSList *list , gconstpointer data ) ;   5905 extern gint g_slist_index(GSList *list , gconstpointer data ) ;
5906 extern GSList *g_slist_last(GSList *list ) ;   5906 extern GSList *g_slist_last(GSList *list ) ;
5907 extern guint g_slist_length(GSList *list ) ;   5907 extern guint g_slist_length(GSList *list ) ;
5908 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,   5908 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,
5909                                                         gpointer user_data ) ,   5909                                                         gpointer user_data ) ,
5910                             gpointer user_data ) ;   5910                             gpointer user_data ) ;
5911 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,   5911 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,
5912                                                                        gint (*compare_func)(gconstpointer a ,   5912                                                                        gint (*compare_func)(gconstpointer a ,
5913                                                                                             gconstpointer b ) ) ;   5913                                                                                             gconstpointer b ) ) ;
5914 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,   5914 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,
5915                                                                                  gint (*compare_func)(gconstpointer a ,   5915                                                                                  gint (*compare_func)(gconstpointer a ,
5916                                                                                                       gconstpointer b ,   5916                                                                                                       gconstpointer b ,
5917                                                                                                       gpointer user_data ) ,   5917                                                                                                       gpointer user_data ) ,
5918                                                                                  gpointer user_data ) ;   5918                                                                                  gpointer user_data ) ;
5919 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;   5919 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;
5920 extern void g_slist_push_allocator(gpointer dummy ) ;   5920 extern void g_slist_push_allocator(gpointer dummy ) ;
5921 extern void g_slist_pop_allocator(void) ;   5921 extern void g_slist_pop_allocator(void) ;
5922 extern GMainContext *g_main_context_new(void) ;   5922 extern GMainContext *g_main_context_new(void) ;
5923 extern GMainContext *g_main_context_ref(GMainContext *context ) ;   5923 extern GMainContext *g_main_context_ref(GMainContext *context ) ;
5924 extern void g_main_context_unref(GMainContext *context ) ;   5924 extern void g_main_context_unref(GMainContext *context ) ;
5925 extern GMainContext *g_main_context_default(void) ;   5925 extern GMainContext *g_main_context_default(void) ;
5926 extern gboolean g_main_context_iteration(GMainContext *context ,   5926 extern gboolean g_main_context_iteration(GMainContext *context ,
5927                                          gboolean may_block ) ;   5927                                          gboolean may_block ) ;
5928 extern gboolean g_main_context_pending(GMainContext *context ) ;   5928 extern gboolean g_main_context_pending(GMainContext *context ) ;
5929 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,   5929 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,
5930                                                  guint source_id ) ;   5930                                                  guint source_id ) ;
5931 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,   5931 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,
5932                                                         gpointer user_data ) ;   5932                                                         gpointer user_data ) ;
5933 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,   5933 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,
5934                                                               GSourceFuncs *funcs ,   5934                                                               GSourceFuncs *funcs ,
5935                                                               gpointer user_data ) ;   5935                                                               gpointer user_data ) ;
5936 extern void g_main_context_wakeup(GMainContext *context ) ;   5936 extern void g_main_context_wakeup(GMainContext *context ) ;
5937 extern gboolean g_main_context_acquire(GMainContext *context ) ;   5937 extern gboolean g_main_context_acquire(GMainContext *context ) ;
5938 extern void g_main_context_release(GMainContext *context ) ;   5938 extern void g_main_context_release(GMainContext *context ) ;
5939 extern gboolean g_main_context_is_owner(GMainContext *context ) ;   5939 extern gboolean g_main_context_is_owner(GMainContext *context ) ;
5940 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,   5940 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,
5941                                     GMutex *mutex ) ;   5941                                     GMutex *mutex ) ;
5942 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;   5942 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;
5943 extern gint g_main_context_query(GMainContext *context , gint max_priority ,   5943 extern gint g_main_context_query(GMainContext *context , gint max_priority ,
5944                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;   5944                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;
5945 extern gint g_main_context_check(GMainContext *context , gint max_priority ,   5945 extern gint g_main_context_check(GMainContext *context , gint max_priority ,
5946                                  GPollFD *fds , gint n_fds ) ;   5946                                  GPollFD *fds , gint n_fds ) ;
5947 extern void g_main_context_dispatch(GMainContext *context ) ;   5947 extern void g_main_context_dispatch(GMainContext *context ) ;
5948 extern void g_main_context_set_poll_func(GMainContext *context ,   5948 extern void g_main_context_set_poll_func(GMainContext *context ,
5949                                          gint (*func)(GPollFD *ufds ,   5949                                          gint (*func)(GPollFD *ufds ,
5950                                                       guint nfsd ,   5950                                                       guint nfsd ,
5951                                                       gint timeout_ ) ) ;   5951                                                       gint timeout_ ) ) ;
5952 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;   5952 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;
5953 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,   5953 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,
5954                                     gint priority ) ;   5954                                     gint priority ) ;
5955 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;   5955 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;
5956 extern gint g_main_depth(void) ;   5956 extern gint g_main_depth(void) ;
5957 extern GSource *g_main_current_source(void) ;   5957 extern GSource *g_main_current_source(void) ;
5958 extern void g_main_context_push_thread_default(GMainContext *context ) ;   5958 extern void g_main_context_push_thread_default(GMainContext *context ) ;
5959 extern void g_main_context_pop_thread_default(GMainContext *context ) ;   5959 extern void g_main_context_pop_thread_default(GMainContext *context ) ;
5960 extern GMainContext *g_main_context_get_thread_default(void) ;   5960 extern GMainContext *g_main_context_get_thread_default(void) ;
5961 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;   5961 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;
5962 extern void g_main_loop_run(GMainLoop *loop ) ;   5962 extern void g_main_loop_run(GMainLoop *loop ) ;
5963 extern void g_main_loop_quit(GMainLoop *loop ) ;   5963 extern void g_main_loop_quit(GMainLoop *loop ) ;
5964 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;   5964 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;
5965 extern void g_main_loop_unref(GMainLoop *loop ) ;   5965 extern void g_main_loop_unref(GMainLoop *loop ) ;
5966 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;   5966 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;
5967 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;   5967 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;
5968 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;   5968 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;
5969 extern GSource *g_source_ref(GSource *source ) ;   5969 extern GSource *g_source_ref(GSource *source ) ;
5970 extern void g_source_unref(GSource *source ) ;   5970 extern void g_source_unref(GSource *source ) ;
5971 extern guint g_source_attach(GSource *source , GMainContext *context ) ;   5971 extern guint g_source_attach(GSource *source , GMainContext *context ) ;
5972 extern void g_source_destroy(GSource *source ) ;   5972 extern void g_source_destroy(GSource *source ) ;
5973 extern void g_source_set_priority(GSource *source , gint priority ) ;   5973 extern void g_source_set_priority(GSource *source , gint priority ) ;
5974 extern gint g_source_get_priority(GSource *source ) ;   5974 extern gint g_source_get_priority(GSource *source ) ;
5975 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;   5975 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;
5976 extern gboolean g_source_get_can_recurse(GSource *source ) ;   5976 extern gboolean g_source_get_can_recurse(GSource *source ) ;
5977 extern guint g_source_get_id(GSource *source ) ;   5977 extern guint g_source_get_id(GSource *source ) ;
5978 extern GMainContext *g_source_get_context(GSource *source ) ;   5978 extern GMainContext *g_source_get_context(GSource *source ) ;
5979 extern void g_source_set_callback(GSource *source ,   5979 extern void g_source_set_callback(GSource *source ,
5980                                   gboolean (*func)(gpointer data ) ,   5980                                   gboolean (*func)(gpointer data ) ,
5981                                   gpointer data ,   5981                                   gpointer data ,
5982                                   void (*notify)(gpointer data ) ) ;   5982                                   void (*notify)(gpointer data ) ) ;
5983 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;   5983 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;
5984 extern gboolean g_source_is_destroyed(GSource *source ) ;   5984 extern gboolean g_source_is_destroyed(GSource *source ) ;
5985 extern void g_source_set_callback_indirect(GSource *source ,   5985 extern void g_source_set_callback_indirect(GSource *source ,
5986                                            gpointer callback_data ,   5986                                            gpointer callback_data ,
5987                                            GSourceCallbackFuncs *callback_funcs ) ;   5987                                            GSourceCallbackFuncs *callback_funcs ) ;
5988 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;   5988 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;
5989 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;   5989 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;
5990 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;   5990 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;
5991 extern GSource *g_idle_source_new(void) ;   5991 extern GSource *g_idle_source_new(void) ;
5992 extern GSource *g_child_watch_source_new(GPid pid ) ;   5992 extern GSource *g_child_watch_source_new(GPid pid ) ;
5993 extern GSource *g_timeout_source_new(guint interval ) ;   5993 extern GSource *g_timeout_source_new(guint interval ) ;
5994 extern GSource *g_timeout_source_new_seconds(guint interval ) ;   5994 extern GSource *g_timeout_source_new_seconds(guint interval ) ;
5995 extern void g_get_current_time(GTimeVal *result ) ;   5995 extern void g_get_current_time(GTimeVal *result ) ;
5996 extern gboolean g_source_remove(guint tag ) ;   5996 extern gboolean g_source_remove(guint tag ) ;
5997 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;   5997 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;
5998 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,   5998 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,
5999                                                    gpointer user_data ) ;   5999                                                    gpointer user_data ) ;
6000 extern guint g_timeout_add_full(gint priority , guint interval ,   6000 extern guint g_timeout_add_full(gint priority , guint interval ,
6001                                 gboolean (*function)(gpointer data ) ,   6001                                 gboolean (*function)(gpointer data ) ,
6002                                 gpointer data , void (*notify)(gpointer data ) ) ;   6002                                 gpointer data , void (*notify)(gpointer data ) ) ;
6003 extern guint g_timeout_add(guint interval ,   6003 extern guint g_timeout_add(guint interval ,
6004                            gboolean (*function)(gpointer data ) , gpointer data ) ;   6004                            gboolean (*function)(gpointer data ) , gpointer data ) ;
6005 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,   6005 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,
6006                                         gboolean (*function)(gpointer data ) ,   6006                                         gboolean (*function)(gpointer data ) ,
6007                                         gpointer data ,   6007                                         gpointer data ,
6008                                         void (*notify)(gpointer data ) ) ;   6008                                         void (*notify)(gpointer data ) ) ;
6009 extern guint g_timeout_add_seconds(guint interval ,   6009 extern guint g_timeout_add_seconds(guint interval ,
6010                                    gboolean (*function)(gpointer data ) ,   6010                                    gboolean (*function)(gpointer data ) ,
6011                                    gpointer data ) ;   6011                                    gpointer data ) ;
6012 extern guint g_child_watch_add_full(gint priority , GPid pid ,   6012 extern guint g_child_watch_add_full(gint priority , GPid pid ,
6013                                     void (*function)(GPid pid , gint status ,   6013                                     void (*function)(GPid pid , gint status ,
6014                                                      gpointer data ) ,   6014                                                      gpointer data ) ,
6015                                     gpointer data ,   6015                                     gpointer data ,
6016                                     void (*notify)(gpointer data ) ) ;   6016                                     void (*notify)(gpointer data ) ) ;
6017 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,   6017 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,
6018                                                            gint status ,   6018                                                            gint status ,
6019                                                            gpointer data ) ,   6019                                                            gpointer data ) ,
6020                                gpointer data ) ;   6020                                gpointer data ) ;
6021 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;   6021 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;
6022 extern guint g_idle_add_full(gint priority ,   6022 extern guint g_idle_add_full(gint priority ,
6023                              gboolean (*function)(gpointer data ) ,   6023                              gboolean (*function)(gpointer data ) ,
6024                              gpointer data , void (*notify)(gpointer data ) ) ;   6024                              gpointer data , void (*notify)(gpointer data ) ) ;
6025 extern gboolean g_idle_remove_by_data(gpointer data ) ;   6025 extern gboolean g_idle_remove_by_data(gpointer data ) ;
6026 extern GSourceFuncs g_timeout_funcs ;   6026 extern GSourceFuncs g_timeout_funcs ;
6027 extern GSourceFuncs g_child_watch_funcs ;   6027 extern GSourceFuncs g_child_watch_funcs ;
6028 extern GSourceFuncs g_idle_funcs ;   6028 extern GSourceFuncs g_idle_funcs ;
6029 extern gboolean g_get_charset(char const   **charset ) ;   6029 extern gboolean g_get_charset(char const   **charset ) ;
6030 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;   6030 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;
6031 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;   6031 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;
6032 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;   6032 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;
6033 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;   6033 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;
6034 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;   6034 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;
6035 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;   6035 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;
6036 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;   6036 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;
6037 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;   6037 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;
6038 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;   6038 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;
6039 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;   6039 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;
6040 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;   6040 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;
6041 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;   6041 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;
6042 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;   6042 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;
6043 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;   6043 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;
6044 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;   6044 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;
6045 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;   6045 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;
6046 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;   6046 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;
6047 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;   6047 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;
6048 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;   6048 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;
6049 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;   6049 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;
6050 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;   6050 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;
6051 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;   6051 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;
6052 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;   6052 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;
6053 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;   6053 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;
6054 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;   6054 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;
6055 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;   6055 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;
6056 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,   6056 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,
6057                                                    gsize *result_len )  __attribute__((__malloc__)) ;   6057                                                    gsize *result_len )  __attribute__((__malloc__)) ;
6058 extern gchar const   * const  g_utf8_skip ;   6058 extern gchar const   * const  g_utf8_skip ;
6059 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;   6059 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;
6060 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;   6060 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;
6061 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;   6061 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;
6062 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;   6062 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;
6063 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;   6063 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;
6064 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;   6064 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;
6065 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;   6065 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;
6066 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;   6066 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;
6067 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;   6067 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;
6068 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;   6068 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;
6069 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;   6069 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;
6070 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;   6070 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;
6071 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,   6071 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,
6072                                   glong *items_read , glong *items_written ,   6072                                   glong *items_read , glong *items_written ,
6073                                   GError **error )  __attribute__((__malloc__)) ;   6073                                   GError **error )  __attribute__((__malloc__)) ;
6074 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,   6074 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,
6075                                 glong *items_read , glong *items_written ,   6075                                 glong *items_read , glong *items_written ,
6076                                 GError **error )  __attribute__((__malloc__)) ;   6076                                 GError **error )  __attribute__((__malloc__)) ;
6077 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,   6077 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,
6078                                      glong *items_written )  __attribute__((__malloc__)) ;   6078                                      glong *items_written )  __attribute__((__malloc__)) ;
6079 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,   6079 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,
6080                                  glong *items_read , glong *items_written ,   6080                                  glong *items_read , glong *items_written ,
6081                                  GError **error )  __attribute__((__malloc__)) ;   6081                                  GError **error )  __attribute__((__malloc__)) ;
6082 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,   6082 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,
6083                               glong *items_read , glong *items_written ,   6083                               glong *items_read , glong *items_written ,
6084                               GError **error )  __attribute__((__malloc__)) ;   6084                               GError **error )  __attribute__((__malloc__)) ;
6085 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,   6085 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,
6086                                   glong *items_read , glong *items_written ,   6086                                   glong *items_read , glong *items_written ,
6087                                   GError **error )  __attribute__((__malloc__)) ;   6087                                   GError **error )  __attribute__((__malloc__)) ;
6088 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,   6088 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,
6089                              glong *items_read , glong *items_written ,   6089                              glong *items_read , glong *items_written ,
6090                              GError **error )  __attribute__((__malloc__)) ;   6090                              GError **error )  __attribute__((__malloc__)) ;
6091 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;   6091 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;
6092 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,   6092 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,
6093                                 gchar const   **end ) ;   6093                                 gchar const   **end ) ;
6094 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;   6094 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;
6095 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6095 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6096 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6096 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6097 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6097 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6098 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,   6098 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,
6099                                GNormalizeMode mode )  __attribute__((__malloc__)) ;   6099                                GNormalizeMode mode )  __attribute__((__malloc__)) ;
6100 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;   6100 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;
6101 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6101 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6102 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6102 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6103 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;   6103 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;
6104 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;   6104 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;
6105 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;   6105 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;
6106 extern GStringChunk *g_string_chunk_new(gsize size ) ;   6106 extern GStringChunk *g_string_chunk_new(gsize size ) ;
6107 extern void g_string_chunk_free(GStringChunk *chunk ) ;   6107 extern void g_string_chunk_free(GStringChunk *chunk ) ;
6108 extern void g_string_chunk_clear(GStringChunk *chunk ) ;   6108 extern void g_string_chunk_clear(GStringChunk *chunk ) ;
6109 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;   6109 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;
6110 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,   6110 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,
6111                                         gchar const   *string , gssize len ) ;   6111                                         gchar const   *string , gssize len ) ;
6112 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,   6112 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,
6113                                           gchar const   *string ) ;   6113                                           gchar const   *string ) ;
6114 extern GString *g_string_new(gchar const   *init ) ;   6114 extern GString *g_string_new(gchar const   *init ) ;
6115 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;   6115 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;
6116 extern GString *g_string_sized_new(gsize dfl_size ) ;   6116 extern GString *g_string_sized_new(gsize dfl_size ) ;
6117 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;   6117 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;
6118 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;   6118 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;
6119 extern guint g_string_hash(GString const   *str ) ;   6119 extern guint g_string_hash(GString const   *str ) ;
6120 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;   6120 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;
6121 extern GString *g_string_truncate(GString *string , gsize len ) ;   6121 extern GString *g_string_truncate(GString *string , gsize len ) ;
6122 extern GString *g_string_set_size(GString *string , gsize len ) ;   6122 extern GString *g_string_set_size(GString *string , gsize len ) ;
6123 extern GString *g_string_insert_len(GString *string , gssize pos ,   6123 extern GString *g_string_insert_len(GString *string , gssize pos ,
6124                                     gchar const   *val , gssize len ) ;   6124                                     gchar const   *val , gssize len ) ;
6125 extern GString *g_string_append(GString *string , gchar const   *val ) ;   6125 extern GString *g_string_append(GString *string , gchar const   *val ) ;
6126 extern GString *g_string_append_len(GString *string , gchar const   *val ,   6126 extern GString *g_string_append_len(GString *string , gchar const   *val ,
6127                                     gssize len ) ;   6127                                     gssize len ) ;
6128 extern GString *g_string_append_c(GString *string , gchar c ) ;   6128 extern GString *g_string_append_c(GString *string , gchar c ) ;
6129 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;   6129 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;
6130 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;   6130 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;
6131 extern GString *g_string_prepend_c(GString *string , gchar c ) ;   6131 extern GString *g_string_prepend_c(GString *string , gchar c ) ;
6132 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;   6132 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;
6133 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,   6133 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,
6134                                      gssize len ) ;   6134                                      gssize len ) ;
6135 extern GString *g_string_insert(GString *string , gssize pos ,   6135 extern GString *g_string_insert(GString *string , gssize pos ,
6136                                 gchar const   *val ) ;   6136                                 gchar const   *val ) ;
6137 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;   6137 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;
6138 extern GString *g_string_insert_unichar(GString *string , gssize pos ,   6138 extern GString *g_string_insert_unichar(GString *string , gssize pos ,
6139                                         gunichar wc ) ;   6139                                         gunichar wc ) ;
6140 extern GString *g_string_overwrite(GString *string , gsize pos ,   6140 extern GString *g_string_overwrite(GString *string , gsize pos ,
6141                                    gchar const   *val ) ;   6141                                    gchar const   *val ) ;
6142 extern GString *g_string_overwrite_len(GString *string , gsize pos ,   6142 extern GString *g_string_overwrite_len(GString *string , gsize pos ,
6143                                        gchar const   *val , gssize len ) ;   6143                                        gchar const   *val , gssize len ) ;
6144 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;   6144 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;
6145 extern GString *g_string_ascii_down(GString *string ) ;   6145 extern GString *g_string_ascii_down(GString *string ) ;
6146 extern GString *g_string_ascii_up(GString *string ) ;   6146 extern GString *g_string_ascii_up(GString *string ) ;
6147 extern void g_string_vprintf(GString *string , gchar const   *format ,   6147 extern void g_string_vprintf(GString *string , gchar const   *format ,
6148                              va_list args ) ;   6148                              va_list args ) ;
6149 extern void ( /* format attribute */  g_string_printf)(GString *string ,   6149 extern void ( /* format attribute */  g_string_printf)(GString *string ,
6150                                                        gchar const   *format   6150                                                        gchar const   *format
6151                                                        , ...) ;   6151                                                        , ...) ;
6152 extern void g_string_append_vprintf(GString *string , gchar const   *format ,   6152 extern void g_string_append_vprintf(GString *string , gchar const   *format ,
6153                                     va_list args ) ;   6153                                     va_list args ) ;
6154 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,   6154 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,
6155                                                               gchar const   *format   6155                                                               gchar const   *format
6156                                                               , ...) ;   6156                                                               , ...) ;
6157 extern GString *g_string_append_uri_escaped(GString *string ,   6157 extern GString *g_string_append_uri_escaped(GString *string ,
6158                                             char const   *unescaped ,   6158                                             char const   *unescaped ,
6159                                             char const   *reserved_chars_allowed ,   6159                                             char const   *reserved_chars_allowed ,
6160                                             gboolean allow_utf8 ) ;   6160                                             gboolean allow_utf8 ) ;
6161 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )   6161 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )
6162 {   6162 {
6163   gsize tmp ;   6163   gsize tmp ;
6164     6164  
6165   {   6165   {
6166   if (gstring->len + 1U < gstring->allocated_len) {   6166   if (gstring->len + 1U < gstring->allocated_len) {
6167     tmp = gstring->len;   6167     tmp = gstring->len;
6168     (gstring->len) ++;   6168     (gstring->len) ++;
6169     *(gstring->str + tmp) = c;   6169     *(gstring->str + tmp) = c;
6170     *(gstring->str + gstring->len) = (gchar )0;   6170     *(gstring->str + gstring->len) = (gchar )0;
6171   } else {   6171   } else {
6172     g_string_insert_c(gstring, -1, c);   6172     g_string_insert_c(gstring, -1, c);
6173   }   6173   }
6174   return (gstring);   6174   return (gstring);
6175 }   6175 }
6176 }   6176 }
6177 extern GString *g_string_down(GString *string ) ;   6177 extern GString *g_string_down(GString *string ) ;
6178 extern GString *g_string_up(GString *string ) ;   6178 extern GString *g_string_up(GString *string ) ;
6179 extern void g_io_channel_init(GIOChannel *channel ) ;   6179 extern void g_io_channel_init(GIOChannel *channel ) ;
6180 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;   6180 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;
6181 extern void g_io_channel_unref(GIOChannel *channel ) ;   6181 extern void g_io_channel_unref(GIOChannel *channel ) ;
6182 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,   6182 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,
6183                                   gsize count , gsize *bytes_read ) ;   6183                                   gsize count , gsize *bytes_read ) ;
6184 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,   6184 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,
6185                                    gsize count , gsize *bytes_written ) ;   6185                                    gsize count , gsize *bytes_written ) ;
6186 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,   6186 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,
6187                                   GSeekType type ) ;   6187                                   GSeekType type ) ;
6188 extern void g_io_channel_close(GIOChannel *channel ) ;   6188 extern void g_io_channel_close(GIOChannel *channel ) ;
6189 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,   6189 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,
6190                                        GError **err ) ;   6190                                        GError **err ) ;
6191 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,   6191 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,
6192                                  GIOCondition condition ,   6192                                  GIOCondition condition ,
6193                                  gboolean (*func)(GIOChannel *source ,   6193                                  gboolean (*func)(GIOChannel *source ,
6194                                                   GIOCondition condition ,   6194                                                   GIOCondition condition ,
6195                                                   gpointer data ) ,   6195                                                   gpointer data ) ,
6196                                  gpointer user_data ,   6196                                  gpointer user_data ,
6197                                  void (*notify)(gpointer data ) ) ;   6197                                  void (*notify)(gpointer data ) ) ;
6198 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;   6198 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;
6199 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,   6199 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,
6200                             gboolean (*func)(GIOChannel *source ,   6200                             gboolean (*func)(GIOChannel *source ,
6201                                              GIOCondition condition ,   6201                                              GIOCondition condition ,
6202                                              gpointer data ) ,   6202                                              gpointer data ) ,
6203                             gpointer user_data ) ;   6203                             gpointer user_data ) ;
6204 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;   6204 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;
6205 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;   6205 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;
6206 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;   6206 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;
6207 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,   6207 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,
6208                                         GError **error ) ;   6208                                         GError **error ) ;
6209 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;   6209 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;
6210 extern void g_io_channel_set_line_term(GIOChannel *channel ,   6210 extern void g_io_channel_set_line_term(GIOChannel *channel ,
6211                                        gchar const   *line_term , gint length ) ;   6211                                        gchar const   *line_term , gint length ) ;
6212 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,   6212 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,
6213                                                  gint *length ) ;   6213                                                  gint *length ) ;
6214 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;   6214 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;
6215 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;   6215 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;
6216 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,   6216 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,
6217                                            gchar const   *encoding ,   6217                                            gchar const   *encoding ,
6218                                            GError **error ) ;   6218                                            GError **error ) ;
6219 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;   6219 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;
6220 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,   6220 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,
6221                                             gboolean do_close ) ;   6221                                             gboolean do_close ) ;
6222 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;   6222 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;
6223 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;   6223 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;
6224 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,   6224 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,
6225                                         gchar **str_return , gsize *length ,   6225                                         gchar **str_return , gsize *length ,
6226                                         gsize *terminator_pos , GError **error ) ;   6226                                         gsize *terminator_pos , GError **error ) ;
6227 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,   6227 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,
6228                                                GString *buffer ,   6228                                                GString *buffer ,
6229                                                gsize *terminator_pos ,   6229                                                gsize *terminator_pos ,
6230                                                GError **error ) ;   6230                                                GError **error ) ;
6231 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,   6231 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,
6232                                           gchar **str_return , gsize *length ,   6232                                           gchar **str_return , gsize *length ,
6233                                           GError **error ) ;   6233                                           GError **error ) ;
6234 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,   6234 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,
6235                                          gsize count , gsize *bytes_read ,   6235                                          gsize count , gsize *bytes_read ,
6236                                          GError **error ) ;   6236                                          GError **error ) ;
6237 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,   6237 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,
6238                                            gunichar *thechar , GError **error ) ;   6238                                            gunichar *thechar , GError **error ) ;
6239 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,   6239 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,
6240                                           gchar const   *buf , gssize count ,   6240                                           gchar const   *buf , gssize count ,
6241                                           gsize *bytes_written , GError **error ) ;   6241                                           gsize *bytes_written , GError **error ) ;
6242 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,   6242 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,
6243                                             gunichar thechar , GError **error ) ;   6243                                             gunichar thechar , GError **error ) ;
6244 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,   6244 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,
6245                                             gint64 offset , GSeekType type ,   6245                                             gint64 offset , GSeekType type ,
6246                                             GError **error ) ;   6246                                             GError **error ) ;
6247 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,   6247 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,
6248                                          gchar const   *mode , GError **error ) ;   6248                                          gchar const   *mode , GError **error ) ;
6249 extern GQuark g_io_channel_error_quark(void) ;   6249 extern GQuark g_io_channel_error_quark(void) ;
6250 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;   6250 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;
6251 extern GIOChannel *g_io_channel_unix_new(int fd ) ;   6251 extern GIOChannel *g_io_channel_unix_new(int fd ) ;
6252 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;   6252 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;
6253 extern GSourceFuncs g_io_watch_funcs ;   6253 extern GSourceFuncs g_io_watch_funcs ;
6254 extern GQuark g_key_file_error_quark(void) ;   6254 extern GQuark g_key_file_error_quark(void) ;
6255 extern GKeyFile *g_key_file_new(void) ;   6255 extern GKeyFile *g_key_file_new(void) ;
6256 extern void g_key_file_free(GKeyFile *key_file ) ;   6256 extern void g_key_file_free(GKeyFile *key_file ) ;
6257 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;   6257 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;
6258 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,   6258 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,
6259                                           gchar const   *file ,   6259                                           gchar const   *file ,
6260                                           GKeyFileFlags flags , GError **error ) ;   6260                                           GKeyFileFlags flags , GError **error ) ;
6261 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,   6261 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,
6262                                           gchar const   *data , gsize length ,   6262                                           gchar const   *data , gsize length ,
6263                                           GKeyFileFlags flags , GError **error ) ;   6263                                           GKeyFileFlags flags , GError **error ) ;
6264 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,   6264 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,
6265                                           gchar const   *file ,   6265                                           gchar const   *file ,
6266                                           gchar const   **search_dirs ,   6266                                           gchar const   **search_dirs ,
6267                                           gchar **full_path ,   6267                                           gchar **full_path ,
6268                                           GKeyFileFlags flags , GError **error ) ;   6268                                           GKeyFileFlags flags , GError **error ) ;
6269 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,   6269 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,
6270                                                gchar const   *file ,   6270                                                gchar const   *file ,
6271                                                gchar **full_path ,   6271                                                gchar **full_path ,
6272                                                GKeyFileFlags flags ,   6272                                                GKeyFileFlags flags ,
6273                                                GError **error ) ;   6273                                                GError **error ) ;
6274 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,   6274 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,
6275                                  GError **error )  __attribute__((__malloc__)) ;   6275                                  GError **error )  __attribute__((__malloc__)) ;
6276 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;   6276 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;
6277 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;   6277 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;
6278 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,   6278 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,
6279                                    gchar const   *group_name , gsize *length ,   6279                                    gchar const   *group_name , gsize *length ,
6280                                    GError **error )  __attribute__((__malloc__)) ;   6280                                    GError **error )  __attribute__((__malloc__)) ;
6281 extern gboolean g_key_file_has_group(GKeyFile *key_file ,   6281 extern gboolean g_key_file_has_group(GKeyFile *key_file ,
6282                                      gchar const   *group_name ) ;   6282                                      gchar const   *group_name ) ;
6283 extern gboolean g_key_file_has_key(GKeyFile *key_file ,   6283 extern gboolean g_key_file_has_key(GKeyFile *key_file ,
6284                                    gchar const   *group_name ,   6284                                    gchar const   *group_name ,
6285                                    gchar const   *key , GError **error ) ;   6285                                    gchar const   *key , GError **error ) ;
6286 extern gchar *g_key_file_get_value(GKeyFile *key_file ,   6286 extern gchar *g_key_file_get_value(GKeyFile *key_file ,
6287                                    gchar const   *group_name ,   6287                                    gchar const   *group_name ,
6288                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6288                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6289 extern void g_key_file_set_value(GKeyFile *key_file ,   6289 extern void g_key_file_set_value(GKeyFile *key_file ,
6290                                  gchar const   *group_name ,   6290                                  gchar const   *group_name ,
6291                                  gchar const   *key , gchar const   *value ) ;   6291                                  gchar const   *key , gchar const   *value ) ;
6292 extern gchar *g_key_file_get_string(GKeyFile *key_file ,   6292 extern gchar *g_key_file_get_string(GKeyFile *key_file ,
6293                                     gchar const   *group_name ,   6293                                     gchar const   *group_name ,
6294                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6294                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6295 extern void g_key_file_set_string(GKeyFile *key_file ,   6295 extern void g_key_file_set_string(GKeyFile *key_file ,
6296                                   gchar const   *group_name ,   6296                                   gchar const   *group_name ,
6297                                   gchar const   *key , gchar const   *string ) ;   6297                                   gchar const   *key , gchar const   *string ) ;
6298 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,   6298 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,
6299                                            gchar const   *group_name ,   6299                                            gchar const   *group_name ,
6300                                            gchar const   *key ,   6300                                            gchar const   *key ,
6301                                            gchar const   *locale ,   6301                                            gchar const   *locale ,
6302                                            GError **error )  __attribute__((__malloc__)) ;   6302                                            GError **error )  __attribute__((__malloc__)) ;
6303 extern void g_key_file_set_locale_string(GKeyFile *key_file ,   6303 extern void g_key_file_set_locale_string(GKeyFile *key_file ,
6304                                          gchar const   *group_name ,   6304                                          gchar const   *group_name ,
6305                                          gchar const   *key ,   6305                                          gchar const   *key ,
6306                                          gchar const   *locale ,   6306                                          gchar const   *locale ,
6307                                          gchar const   *string ) ;   6307                                          gchar const   *string ) ;
6308 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,   6308 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,
6309                                        gchar const   *group_name ,   6309                                        gchar const   *group_name ,
6310                                        gchar const   *key , GError **error ) ;   6310                                        gchar const   *key , GError **error ) ;
6311 extern void g_key_file_set_boolean(GKeyFile *key_file ,   6311 extern void g_key_file_set_boolean(GKeyFile *key_file ,
6312                                    gchar const   *group_name ,   6312                                    gchar const   *group_name ,
6313                                    gchar const   *key , gboolean value ) ;   6313                                    gchar const   *key , gboolean value ) ;
6314 extern gint g_key_file_get_integer(GKeyFile *key_file ,   6314 extern gint g_key_file_get_integer(GKeyFile *key_file ,
6315                                    gchar const   *group_name ,   6315                                    gchar const   *group_name ,
6316                                    gchar const   *key , GError **error ) ;   6316                                    gchar const   *key , GError **error ) ;
6317 extern void g_key_file_set_integer(GKeyFile *key_file ,   6317 extern void g_key_file_set_integer(GKeyFile *key_file ,
6318                                    gchar const   *group_name ,   6318                                    gchar const   *group_name ,
6319                                    gchar const   *key , gint value ) ;   6319                                    gchar const   *key , gint value ) ;
6320 extern gdouble g_key_file_get_double(GKeyFile *key_file ,   6320 extern gdouble g_key_file_get_double(GKeyFile *key_file ,
6321                                      gchar const   *group_name ,   6321                                      gchar const   *group_name ,
6322                                      gchar const   *key , GError **error ) ;   6322                                      gchar const   *key , GError **error ) ;
6323 extern void g_key_file_set_double(GKeyFile *key_file ,   6323 extern void g_key_file_set_double(GKeyFile *key_file ,
6324                                   gchar const   *group_name ,   6324                                   gchar const   *group_name ,
6325                                   gchar const   *key , gdouble value ) ;   6325                                   gchar const   *key , gdouble value ) ;
6326 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,   6326 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,
6327                                           gchar const   *group_name ,   6327                                           gchar const   *group_name ,
6328                                           gchar const   *key , gsize *length ,   6328                                           gchar const   *key , gsize *length ,
6329                                           GError **error )  __attribute__((__malloc__)) ;   6329                                           GError **error )  __attribute__((__malloc__)) ;
6330 extern void g_key_file_set_string_list(GKeyFile *key_file ,   6330 extern void g_key_file_set_string_list(GKeyFile *key_file ,
6331                                        gchar const   *group_name ,   6331                                        gchar const   *group_name ,
6332                                        gchar const   *key ,   6332                                        gchar const   *key ,
6333                                        gchar const   * const  *list ,   6333                                        gchar const   * const  *list ,
6334                                        gsize length ) ;   6334                                        gsize length ) ;
6335 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,   6335 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,
6336                                                  gchar const   *group_name ,   6336                                                  gchar const   *group_name ,
6337                                                  gchar const   *key ,   6337                                                  gchar const   *key ,
6338                                                  gchar const   *locale ,   6338                                                  gchar const   *locale ,
6339                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;   6339                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;
6340 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,   6340 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,
6341                                               gchar const   *group_name ,   6341                                               gchar const   *group_name ,
6342                                               gchar const   *key ,   6342                                               gchar const   *key ,
6343                                               gchar const   *locale ,   6343                                               gchar const   *locale ,
6344                                               gchar const   * const  *list ,   6344                                               gchar const   * const  *list ,
6345                                               gsize length ) ;   6345                                               gsize length ) ;
6346 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,   6346 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,
6347                                              gchar const   *group_name ,   6347                                              gchar const   *group_name ,
6348                                              gchar const   *key ,   6348                                              gchar const   *key ,
6349                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;   6349                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;
6350 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,   6350 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,
6351                                         gchar const   *group_name ,   6351                                         gchar const   *group_name ,
6352                                         gchar const   *key , gboolean *list ,   6352                                         gchar const   *key , gboolean *list ,
6353                                         gsize length ) ;   6353                                         gsize length ) ;
6354 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,   6354 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,
6355                                          gchar const   *group_name ,   6355                                          gchar const   *group_name ,
6356                                          gchar const   *key , gsize *length ,   6356                                          gchar const   *key , gsize *length ,
6357                                          GError **error )  __attribute__((__malloc__)) ;   6357                                          GError **error )  __attribute__((__malloc__)) ;
6358 extern void g_key_file_set_double_list(GKeyFile *key_file ,   6358 extern void g_key_file_set_double_list(GKeyFile *key_file ,
6359                                        gchar const   *group_name ,   6359                                        gchar const   *group_name ,
6360                                        gchar const   *key , gdouble *list ,   6360                                        gchar const   *key , gdouble *list ,
6361                                        gsize length ) ;   6361                                        gsize length ) ;
6362 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,   6362 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,
6363                                            gchar const   *group_name ,   6363                                            gchar const   *group_name ,
6364                                            gchar const   *key , gsize *length ,   6364                                            gchar const   *key , gsize *length ,
6365                                            GError **error )  __attribute__((__malloc__)) ;   6365                                            GError **error )  __attribute__((__malloc__)) ;
6366 extern void g_key_file_set_integer_list(GKeyFile *key_file ,   6366 extern void g_key_file_set_integer_list(GKeyFile *key_file ,
6367                                         gchar const   *group_name ,   6367                                         gchar const   *group_name ,
6368                                         gchar const   *key , gint *list ,   6368                                         gchar const   *key , gint *list ,
6369                                         gsize length ) ;   6369                                         gsize length ) ;
6370 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,   6370 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,
6371                                        gchar const   *group_name ,   6371                                        gchar const   *group_name ,
6372                                        gchar const   *key ,   6372                                        gchar const   *key ,
6373                                        gchar const   *comment , GError **error ) ;   6373                                        gchar const   *comment , GError **error ) ;
6374 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,   6374 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,
6375                                      gchar const   *group_name ,   6375                                      gchar const   *group_name ,
6376                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6376                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6377 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,   6377 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,
6378                                           gchar const   *group_name ,   6378                                           gchar const   *group_name ,
6379                                           gchar const   *key , GError **error ) ;   6379                                           gchar const   *key , GError **error ) ;
6380 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,   6380 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,
6381                                       gchar const   *group_name ,   6381                                       gchar const   *group_name ,
6382                                       gchar const   *key , GError **error ) ;   6382                                       gchar const   *key , GError **error ) ;
6383 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,   6383 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,
6384                                         gchar const   *group_name ,   6384                                         gchar const   *group_name ,
6385                                         GError **error ) ;   6385                                         GError **error ) ;
6386 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,   6386 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,
6387                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;   6387                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;
6388 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;   6388 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;
6389 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;   6389 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;
6390 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;   6390 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;
6391 extern void g_mapped_file_unref(GMappedFile *file ) ;   6391 extern void g_mapped_file_unref(GMappedFile *file ) ;
6392 extern void g_mapped_file_free(GMappedFile *file ) ;   6392 extern void g_mapped_file_free(GMappedFile *file ) ;
6393 extern GQuark g_markup_error_quark(void) ;   6393 extern GQuark g_markup_error_quark(void) ;
6394 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,   6394 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,
6395                                                        GMarkupParseFlags flags ,   6395                                                        GMarkupParseFlags flags ,
6396                                                        gpointer user_data ,   6396                                                        gpointer user_data ,
6397                                                        void (*user_data_dnotify)(gpointer data ) ) ;   6397                                                        void (*user_data_dnotify)(gpointer data ) ) ;
6398 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;   6398 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;
6399 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,   6399 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,
6400                                              gchar const   *text ,   6400                                              gchar const   *text ,
6401                                              gssize text_len , GError **error ) ;   6401                                              gssize text_len , GError **error ) ;
6402 extern void g_markup_parse_context_push(GMarkupParseContext *context ,   6402 extern void g_markup_parse_context_push(GMarkupParseContext *context ,
6403                                         GMarkupParser *parser ,   6403                                         GMarkupParser *parser ,
6404                                         gpointer user_data ) ;   6404                                         gpointer user_data ) ;
6405 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;   6405 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;
6406 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,   6406 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,
6407                                                  GError **error ) ;   6407                                                  GError **error ) ;
6408 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;   6408 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;
6409 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;   6409 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;
6410 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,   6410 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,
6411                                                 gint *line_number ,   6411                                                 gint *line_number ,
6412                                                 gint *char_number ) ;   6412                                                 gint *char_number ) ;
6413 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;   6413 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;
6414 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;   6414 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;
6415 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format   6415 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format
6416                                                                  , ...) ;   6416                                                                  , ...) ;
6417 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;   6417 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;
6418 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,   6418 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,
6419                                             gchar const   **attribute_names ,   6419                                             gchar const   **attribute_names ,
6420                                             gchar const   **attribute_values ,   6420                                             gchar const   **attribute_values ,
6421                                             GError **error ,   6421                                             GError **error ,
6422                                             GMarkupCollectType first_type ,   6422                                             GMarkupCollectType first_type ,
6423                                             gchar const   *first_attr  , ...) ;   6423                                             gchar const   *first_attr  , ...) ;
6424 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;   6424 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;
6425 extern guint g_log_set_handler(gchar const   *log_domain ,   6425 extern guint g_log_set_handler(gchar const   *log_domain ,
6426                                GLogLevelFlags log_levels ,   6426                                GLogLevelFlags log_levels ,
6427                                void (*log_func)(gchar const   *log_domain ,   6427                                void (*log_func)(gchar const   *log_domain ,
6428                                                 GLogLevelFlags log_level ,   6428                                                 GLogLevelFlags log_level ,
6429                                                 gchar const   *message ,   6429                                                 gchar const   *message ,
6430                                                 gpointer user_data ) ,   6430                                                 gpointer user_data ) ,
6431                                gpointer user_data ) ;   6431                                gpointer user_data ) ;
6432 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;   6432 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;
6433 extern void g_log_default_handler(gchar const   *log_domain ,   6433 extern void g_log_default_handler(gchar const   *log_domain ,
6434                                   GLogLevelFlags log_level ,   6434                                   GLogLevelFlags log_level ,
6435                                   gchar const   *message , gpointer unused_data ) ;   6435                                   gchar const   *message , gpointer unused_data ) ;
6436 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,   6436 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,
6437                                                            GLogLevelFlags log_level ,   6437                                                            GLogLevelFlags log_level ,
6438                                                            gchar const   *message ,   6438                                                            gchar const   *message ,
6439                                                            gpointer user_data ) ,   6439                                                            gpointer user_data ) ,
6440                                           gpointer user_data ) ;   6440                                           gpointer user_data ) ;
6441 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,   6441 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,
6442                                              GLogLevelFlags log_level ,   6442                                              GLogLevelFlags log_level ,
6443                                              gchar const   *format  , ...) ;   6443                                              gchar const   *format  , ...) ;
6444 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,   6444 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,
6445                    gchar const   *format , va_list args ) ;   6445                    gchar const   *format , va_list args ) ;
6446 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,   6446 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,
6447                                            GLogLevelFlags fatal_mask ) ;   6447                                            GLogLevelFlags fatal_mask ) ;
6448 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;   6448 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;
6449 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,   6449 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,
6450                                                                                GLogLevelFlags log_level ,   6450                                                                                GLogLevelFlags log_level ,
6451                                                                                gchar const   *message ,   6451                                                                                gchar const   *message ,
6452                                                                                gpointer unused_data ) ;   6452                                                                                gpointer unused_data ) ;
6453 extern void g_return_if_fail_warning(char const   *log_domain ,   6453 extern void g_return_if_fail_warning(char const   *log_domain ,
6454                                      char const   *pretty_function ,   6454                                      char const   *pretty_function ,
6455                                      char const   *expression ) ;   6455                                      char const   *expression ) ;
6456 extern void g_warn_message(char const   *domain , char const   *file ,   6456 extern void g_warn_message(char const   *domain , char const   *file ,
6457                            int line , char const   *func ,   6457                            int line , char const   *func ,
6458                            char const   *warnexpr ) ;   6458                            char const   *warnexpr ) ;
6459 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,   6459 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,
6460                                                             char const   *file ,   6460                                                             char const   *file ,
6461                                                             int const   line ,   6461                                                             int const   line ,
6462                                                             char const   *pretty_function ,   6462                                                             char const   *pretty_function ,
6463                                                             char const   *expression ) ;   6463                                                             char const   *expression ) ;
6464 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;   6464 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;
6465 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;   6465 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;
6466 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;   6466 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;
6467 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;   6467 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;
6468 extern GNode *g_node_new(gpointer data ) ;   6468 extern GNode *g_node_new(gpointer data ) ;
6469 extern void g_node_destroy(GNode *root ) ;   6469 extern void g_node_destroy(GNode *root ) ;
6470 extern void g_node_unlink(GNode *node ) ;   6470 extern void g_node_unlink(GNode *node ) ;
6471 extern GNode *g_node_copy_deep(GNode *node ,   6471 extern GNode *g_node_copy_deep(GNode *node ,
6472                                gpointer (*copy_func)(gconstpointer src ,   6472                                gpointer (*copy_func)(gconstpointer src ,
6473                                                      gpointer data ) ,   6473                                                      gpointer data ) ,
6474                                gpointer data ) ;   6474                                gpointer data ) ;
6475 extern GNode *g_node_copy(GNode *node ) ;   6475 extern GNode *g_node_copy(GNode *node ) ;
6476 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;   6476 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;
6477 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;   6477 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;
6478 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;   6478 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;
6479 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;   6479 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;
6480 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;   6480 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;
6481 extern GNode *g_node_get_root(GNode *node ) ;   6481 extern GNode *g_node_get_root(GNode *node ) ;
6482 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;   6482 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;
6483 extern guint g_node_depth(GNode *node ) ;   6483 extern guint g_node_depth(GNode *node ) ;
6484 extern GNode *g_node_find(GNode *root , GTraverseType order ,   6484 extern GNode *g_node_find(GNode *root , GTraverseType order ,
6485                           GTraverseFlags flags , gpointer data ) ;   6485                           GTraverseFlags flags , gpointer data ) ;
6486 extern void g_node_traverse(GNode *root , GTraverseType order ,   6486 extern void g_node_traverse(GNode *root , GTraverseType order ,
6487                             GTraverseFlags flags , gint max_depth ,   6487                             GTraverseFlags flags , gint max_depth ,
6488                             gboolean (*func)(GNode *node , gpointer data ) ,   6488                             gboolean (*func)(GNode *node , gpointer data ) ,
6489                             gpointer data ) ;   6489                             gpointer data ) ;
6490 extern guint g_node_max_height(GNode *root ) ;   6490 extern guint g_node_max_height(GNode *root ) ;
6491 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,   6491 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,
6492                                     void (*func)(GNode *node , gpointer data ) ,   6492                                     void (*func)(GNode *node , gpointer data ) ,
6493                                     gpointer data ) ;   6493                                     gpointer data ) ;
6494 extern void g_node_reverse_children(GNode *node ) ;   6494 extern void g_node_reverse_children(GNode *node ) ;
6495 extern guint g_node_n_children(GNode *node ) ;   6495 extern guint g_node_n_children(GNode *node ) ;
6496 extern GNode *g_node_nth_child(GNode *node , guint n ) ;   6496 extern GNode *g_node_nth_child(GNode *node , guint n ) ;
6497 extern GNode *g_node_last_child(GNode *node ) ;   6497 extern GNode *g_node_last_child(GNode *node ) ;
6498 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,   6498 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,
6499                                 gpointer data ) ;   6499                                 gpointer data ) ;
6500 extern gint g_node_child_position(GNode *node , GNode *child ) ;   6500 extern gint g_node_child_position(GNode *node , GNode *child ) ;
6501 extern gint g_node_child_index(GNode *node , gpointer data ) ;   6501 extern gint g_node_child_index(GNode *node , gpointer data ) ;
6502 extern GNode *g_node_first_sibling(GNode *node ) ;   6502 extern GNode *g_node_first_sibling(GNode *node ) ;
6503 extern GNode *g_node_last_sibling(GNode *node ) ;   6503 extern GNode *g_node_last_sibling(GNode *node ) ;
6504 extern void g_node_push_allocator(gpointer dummy ) ;   6504 extern void g_node_push_allocator(gpointer dummy ) ;
6505 extern void g_node_pop_allocator(void) ;   6505 extern void g_node_pop_allocator(void) ;
6506 extern GQuark g_option_error_quark(void) ;   6506 extern GQuark g_option_error_quark(void) ;
6507 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;   6507 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;
6508 extern void g_option_context_set_summary(GOptionContext *context ,   6508 extern void g_option_context_set_summary(GOptionContext *context ,
6509                                          gchar const   *summary ) ;   6509                                          gchar const   *summary ) ;
6510 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;   6510 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;
6511 extern void g_option_context_set_description(GOptionContext *context ,   6511 extern void g_option_context_set_description(GOptionContext *context ,
6512                                              gchar const   *description ) ;   6512                                              gchar const   *description ) ;
6513 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;   6513 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;
6514 extern void g_option_context_free(GOptionContext *context ) ;   6514 extern void g_option_context_free(GOptionContext *context ) ;
6515 extern void g_option_context_set_help_enabled(GOptionContext *context ,   6515 extern void g_option_context_set_help_enabled(GOptionContext *context ,
6516                                               gboolean help_enabled ) ;   6516                                               gboolean help_enabled ) ;
6517 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;   6517 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;
6518 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,   6518 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,
6519                                                         gboolean ignore_unknown ) ;   6519                                                         gboolean ignore_unknown ) ;
6520 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;   6520 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;
6521 extern void g_option_context_add_main_entries(GOptionContext *context ,   6521 extern void g_option_context_add_main_entries(GOptionContext *context ,
6522                                               GOptionEntry const   *entries ,   6522                                               GOptionEntry const   *entries ,
6523                                               gchar const   *translation_domain ) ;   6523                                               gchar const   *translation_domain ) ;
6524 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,   6524 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,
6525                                        gchar ***argv , GError **error ) ;   6525                                        gchar ***argv , GError **error ) ;
6526 extern void g_option_context_set_translate_func(GOptionContext *context ,   6526 extern void g_option_context_set_translate_func(GOptionContext *context ,
6527                                                 gchar const   *(*func)(gchar const   *str ,   6527                                                 gchar const   *(*func)(gchar const   *str ,
6528                                                                        gpointer data ) ,   6528                                                                        gpointer data ) ,
6529                                                 gpointer data ,   6529                                                 gpointer data ,
6530                                                 void (*destroy_notify)(gpointer data ) ) ;   6530                                                 void (*destroy_notify)(gpointer data ) ) ;
6531 extern void g_option_context_set_translation_domain(GOptionContext *context ,   6531 extern void g_option_context_set_translation_domain(GOptionContext *context ,
6532                                                     gchar const   *domain ) ;   6532                                                     gchar const   *domain ) ;
6533 extern void g_option_context_add_group(GOptionContext *context ,   6533 extern void g_option_context_add_group(GOptionContext *context ,
6534                                        GOptionGroup *group ) ;   6534                                        GOptionGroup *group ) ;
6535 extern void g_option_context_set_main_group(GOptionContext *context ,   6535 extern void g_option_context_set_main_group(GOptionContext *context ,
6536                                             GOptionGroup *group ) ;   6536                                             GOptionGroup *group ) ;
6537 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;   6537 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;
6538 extern gchar *g_option_context_get_help(GOptionContext *context ,   6538 extern gchar *g_option_context_get_help(GOptionContext *context ,
6539                                         gboolean main_help ,   6539                                         gboolean main_help ,
6540                                         GOptionGroup *group ) ;   6540                                         GOptionGroup *group ) ;
6541 extern GOptionGroup *g_option_group_new(gchar const   *name ,   6541 extern GOptionGroup *g_option_group_new(gchar const   *name ,
6542                                         gchar const   *description ,   6542                                         gchar const   *description ,
6543                                         gchar const   *help_description ,   6543                                         gchar const   *help_description ,
6544                                         gpointer user_data ,   6544                                         gpointer user_data ,
6545                                         void (*destroy)(gpointer data ) ) ;   6545                                         void (*destroy)(gpointer data ) ) ;
6546 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,   6546 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,
6547                                            gboolean (*pre_parse_func)(GOptionContext *context ,   6547                                            gboolean (*pre_parse_func)(GOptionContext *context ,
6548                                                                       GOptionGroup *group ,   6548                                                                       GOptionGroup *group ,
6549                                                                       gpointer data ,   6549                                                                       gpointer data ,
6550                                                                       GError **error ) ,   6550                                                                       GError **error ) ,
6551                                            gboolean (*post_parse_func)(GOptionContext *context ,   6551                                            gboolean (*post_parse_func)(GOptionContext *context ,
6552                                                                        GOptionGroup *group ,   6552                                                                        GOptionGroup *group ,
6553                                                                        gpointer data ,   6553                                                                        gpointer data ,
6554                                                                        GError **error ) ) ;   6554                                                                        GError **error ) ) ;
6555 extern void g_option_group_set_error_hook(GOptionGroup *group ,   6555 extern void g_option_group_set_error_hook(GOptionGroup *group ,
6556                                           void (*error_func)(GOptionContext *context ,   6556                                           void (*error_func)(GOptionContext *context ,
6557                                                              GOptionGroup *group ,   6557                                                              GOptionGroup *group ,
6558                                                              gpointer data ,   6558                                                              gpointer data ,
6559                                                              GError **error ) ) ;   6559                                                              GError **error ) ) ;
6560 extern void g_option_group_free(GOptionGroup *group ) ;   6560 extern void g_option_group_free(GOptionGroup *group ) ;
6561 extern void g_option_group_add_entries(GOptionGroup *group ,   6561 extern void g_option_group_add_entries(GOptionGroup *group ,
6562                                        GOptionEntry const   *entries ) ;   6562                                        GOptionEntry const   *entries ) ;
6563 extern void g_option_group_set_translate_func(GOptionGroup *group ,   6563 extern void g_option_group_set_translate_func(GOptionGroup *group ,
6564                                               gchar const   *(*func)(gchar const   *str ,   6564                                               gchar const   *(*func)(gchar const   *str ,
6565                                                                      gpointer data ) ,   6565                                                                      gpointer data ) ,
6566                                               gpointer data ,   6566                                               gpointer data ,
6567                                               void (*destroy_notify)(gpointer data ) ) ;   6567                                               void (*destroy_notify)(gpointer data ) ) ;
6568 extern void g_option_group_set_translation_domain(GOptionGroup *group ,   6568 extern void g_option_group_set_translation_domain(GOptionGroup *group ,
6569                                                   gchar const   *domain ) ;   6569                                                   gchar const   *domain ) ;
6570 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;   6570 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;
6571 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;   6571 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;
6572 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,   6572 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,
6573                                      GPatternSpec *pspec2 ) ;   6573                                      GPatternSpec *pspec2 ) ;
6574 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,   6574 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,
6575                                 gchar const   *string ,   6575                                 gchar const   *string ,
6576                                 gchar const   *string_reversed ) ;   6576                                 gchar const   *string_reversed ) ;
6577 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,   6577 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,
6578                                        gchar const   *string ) ;   6578                                        gchar const   *string ) ;
6579 extern gboolean g_pattern_match_simple(gchar const   *pattern ,   6579 extern gboolean g_pattern_match_simple(gchar const   *pattern ,
6580                                        gchar const   *string ) ;   6580                                        gchar const   *string ) ;
6581 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;   6581 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;
6582 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,   6582 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,
6583                               gsize size ,   6583                               gsize size ,
6584                               gint (*compare_func)(gconstpointer a ,   6584                               gint (*compare_func)(gconstpointer a ,
6585                                                    gconstpointer b ,   6585                                                    gconstpointer b ,
6586                                                    gpointer user_data ) ,   6586                                                    gpointer user_data ) ,
6587                               gpointer user_data ) ;   6587                               gpointer user_data ) ;
6588 extern GQueue *g_queue_new(void) ;   6588 extern GQueue *g_queue_new(void) ;
6589 extern void g_queue_free(GQueue *queue ) ;   6589 extern void g_queue_free(GQueue *queue ) ;
6590 extern void g_queue_init(GQueue *queue ) ;   6590 extern void g_queue_init(GQueue *queue ) ;
6591 extern void g_queue_clear(GQueue *queue ) ;   6591 extern void g_queue_clear(GQueue *queue ) ;
6592 extern gboolean g_queue_is_empty(GQueue *queue ) ;   6592 extern gboolean g_queue_is_empty(GQueue *queue ) ;
6593 extern guint g_queue_get_length(GQueue *queue ) ;   6593 extern guint g_queue_get_length(GQueue *queue ) ;
6594 extern void g_queue_reverse(GQueue *queue ) ;   6594 extern void g_queue_reverse(GQueue *queue ) ;
6595 extern GQueue *g_queue_copy(GQueue *queue ) ;   6595 extern GQueue *g_queue_copy(GQueue *queue ) ;
6596 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,   6596 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,
6597                                                          gpointer user_data ) ,   6597                                                          gpointer user_data ) ,
6598                             gpointer user_data ) ;   6598                             gpointer user_data ) ;
6599 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;   6599 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;
6600 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,   6600 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,
6601                                   gint (*func)(gconstpointer a ,   6601                                   gint (*func)(gconstpointer a ,
6602                                                gconstpointer b ) ) ;   6602                                                gconstpointer b ) ) ;
6603 extern void g_queue_sort(GQueue *queue ,   6603 extern void g_queue_sort(GQueue *queue ,
6604                          gint (*compare_func)(gconstpointer a ,   6604                          gint (*compare_func)(gconstpointer a ,
6605                                               gconstpointer b ,   6605                                               gconstpointer b ,
6606                                               gpointer user_data ) ,   6606                                               gpointer user_data ) ,
6607                          gpointer user_data ) ;   6607                          gpointer user_data ) ;
6608 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;   6608 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;
6609 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;   6609 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;
6610 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;   6610 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;
6611 extern gpointer g_queue_pop_head(GQueue *queue ) ;   6611 extern gpointer g_queue_pop_head(GQueue *queue ) ;
6612 extern gpointer g_queue_pop_tail(GQueue *queue ) ;   6612 extern gpointer g_queue_pop_tail(GQueue *queue ) ;
6613 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;   6613 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;
6614 extern gpointer g_queue_peek_head(GQueue *queue ) ;   6614 extern gpointer g_queue_peek_head(GQueue *queue ) ;
6615 extern gpointer g_queue_peek_tail(GQueue *queue ) ;   6615 extern gpointer g_queue_peek_tail(GQueue *queue ) ;
6616 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;   6616 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;
6617 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;   6617 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;
6618 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;   6618 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;
6619 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;   6619 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;
6620 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,   6620 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,
6621                                   gpointer data ) ;   6621                                   gpointer data ) ;
6622 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;   6622 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;
6623 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,   6623 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,
6624                                   gint (*func)(gconstpointer a ,   6624                                   gint (*func)(gconstpointer a ,
6625                                                gconstpointer b ,   6625                                                gconstpointer b ,
6626                                                gpointer user_data ) ,   6626                                                gpointer user_data ) ,
6627                                   gpointer user_data ) ;   6627                                   gpointer user_data ) ;
6628 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;   6628 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;
6629 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;   6629 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;
6630 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;   6630 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;
6631 extern GList *g_queue_pop_head_link(GQueue *queue ) ;   6631 extern GList *g_queue_pop_head_link(GQueue *queue ) ;
6632 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;   6632 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;
6633 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;   6633 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;
6634 extern GList *g_queue_peek_head_link(GQueue *queue ) ;   6634 extern GList *g_queue_peek_head_link(GQueue *queue ) ;
6635 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;   6635 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;
6636 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;   6636 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;
6637 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;   6637 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;
6638 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;   6638 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;
6639 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;   6639 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;
6640 extern GRand *g_rand_new_with_seed(guint32 seed ) ;   6640 extern GRand *g_rand_new_with_seed(guint32 seed ) ;
6641 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,   6641 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,
6642                                          guint seed_length ) ;   6642                                          guint seed_length ) ;
6643 extern GRand *g_rand_new(void) ;   6643 extern GRand *g_rand_new(void) ;
6644 extern void g_rand_free(GRand *rand_ ) ;   6644 extern void g_rand_free(GRand *rand_ ) ;
6645 extern GRand *g_rand_copy(GRand *rand_ ) ;   6645 extern GRand *g_rand_copy(GRand *rand_ ) ;
6646 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;   6646 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;
6647 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,   6647 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,
6648                                   guint seed_length ) ;   6648                                   guint seed_length ) ;
6649 extern guint32 g_rand_int(GRand *rand_ ) ;   6649 extern guint32 g_rand_int(GRand *rand_ ) ;
6650 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;   6650 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;
6651 extern gdouble g_rand_double(GRand *rand_ ) ;   6651 extern gdouble g_rand_double(GRand *rand_ ) ;
6652 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;   6652 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;
6653 extern void g_random_set_seed(guint32 seed ) ;   6653 extern void g_random_set_seed(guint32 seed ) ;
6654 extern guint32 g_random_int(void) ;   6654 extern guint32 g_random_int(void) ;
6655 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;   6655 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;
6656 extern gdouble g_random_double(void) ;   6656 extern gdouble g_random_double(void) ;
6657 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;   6657 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;
6658 extern GRelation *g_relation_new(gint fields ) ;   6658 extern GRelation *g_relation_new(gint fields ) ;
6659 extern void g_relation_destroy(GRelation *relation ) ;   6659 extern void g_relation_destroy(GRelation *relation ) ;
6660 extern void g_relation_index(GRelation *relation , gint field ,   6660 extern void g_relation_index(GRelation *relation , gint field ,
6661                              guint (*hash_func)(gconstpointer key ) ,   6661                              guint (*hash_func)(gconstpointer key ) ,
6662                              gboolean (*key_equal_func)(gconstpointer a ,   6662                              gboolean (*key_equal_func)(gconstpointer a ,
6663                                                         gconstpointer b ) ) ;   6663                                                         gconstpointer b ) ) ;
6664 extern void g_relation_insert(GRelation *relation  , ...) ;   6664 extern void g_relation_insert(GRelation *relation  , ...) ;
6665 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,   6665 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,
6666                               gint field ) ;   6666                               gint field ) ;
6667 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,   6667 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,
6668                                   gint field ) ;   6668                                   gint field ) ;
6669 extern gint g_relation_count(GRelation *relation , gconstpointer key ,   6669 extern gint g_relation_count(GRelation *relation , gconstpointer key ,
6670                              gint field ) ;   6670                              gint field ) ;
6671 extern gboolean g_relation_exists(GRelation *relation  , ...) ;   6671 extern gboolean g_relation_exists(GRelation *relation  , ...) ;
6672 extern void g_relation_print(GRelation *relation ) ;   6672 extern void g_relation_print(GRelation *relation ) ;
6673 extern void g_tuples_destroy(GTuples *tuples ) ;   6673 extern void g_tuples_destroy(GTuples *tuples ) ;
6674 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;   6674 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;
6675 extern GQuark g_regex_error_quark(void) ;   6675 extern GQuark g_regex_error_quark(void) ;
6676 extern GRegex *g_regex_new(gchar const   *pattern ,   6676 extern GRegex *g_regex_new(gchar const   *pattern ,
6677                            GRegexCompileFlags compile_options ,   6677                            GRegexCompileFlags compile_options ,
6678                            GRegexMatchFlags match_options , GError **error ) ;   6678                            GRegexMatchFlags match_options , GError **error ) ;
6679 extern GRegex *g_regex_ref(GRegex *regex ) ;   6679 extern GRegex *g_regex_ref(GRegex *regex ) ;
6680 extern void g_regex_unref(GRegex *regex ) ;   6680 extern void g_regex_unref(GRegex *regex ) ;
6681 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;   6681 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;
6682 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;   6682 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;
6683 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;   6683 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;
6684 extern gint g_regex_get_string_number(GRegex const   *regex ,   6684 extern gint g_regex_get_string_number(GRegex const   *regex ,
6685                                       gchar const   *name ) ;   6685                                       gchar const   *name ) ;
6686 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;   6686 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;
6687 extern gboolean g_regex_match_simple(gchar const   *pattern ,   6687 extern gboolean g_regex_match_simple(gchar const   *pattern ,
6688                                      gchar const   *string ,   6688                                      gchar const   *string ,
6689                                      GRegexCompileFlags compile_options ,   6689                                      GRegexCompileFlags compile_options ,
6690                                      GRegexMatchFlags match_options ) ;   6690                                      GRegexMatchFlags match_options ) ;
6691 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,   6691 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,
6692                               GRegexMatchFlags match_options ,   6692                               GRegexMatchFlags match_options ,
6693                               GMatchInfo **match_info ) ;   6693                               GMatchInfo **match_info ) ;
6694 extern gboolean g_regex_match_full(GRegex const   *regex ,   6694 extern gboolean g_regex_match_full(GRegex const   *regex ,
6695                                    gchar const   *string , gssize string_len ,   6695                                    gchar const   *string , gssize string_len ,
6696                                    gint start_position ,   6696                                    gint start_position ,
6697                                    GRegexMatchFlags match_options ,   6697                                    GRegexMatchFlags match_options ,
6698                                    GMatchInfo **match_info , GError **error ) ;   6698                                    GMatchInfo **match_info , GError **error ) ;
6699 extern gboolean g_regex_match_all(GRegex const   *regex ,   6699 extern gboolean g_regex_match_all(GRegex const   *regex ,
6700                                   gchar const   *string ,   6700                                   gchar const   *string ,
6701                                   GRegexMatchFlags match_options ,   6701                                   GRegexMatchFlags match_options ,
6702                                   GMatchInfo **match_info ) ;   6702                                   GMatchInfo **match_info ) ;
6703 extern gboolean g_regex_match_all_full(GRegex const   *regex ,   6703 extern gboolean g_regex_match_all_full(GRegex const   *regex ,
6704                                        gchar const   *string ,   6704                                        gchar const   *string ,
6705                                        gssize string_len , gint start_position ,   6705                                        gssize string_len , gint start_position ,
6706                                        GRegexMatchFlags match_options ,   6706                                        GRegexMatchFlags match_options ,
6707                                        GMatchInfo **match_info , GError **error ) ;   6707                                        GMatchInfo **match_info , GError **error ) ;
6708 extern gchar **g_regex_split_simple(gchar const   *pattern ,   6708 extern gchar **g_regex_split_simple(gchar const   *pattern ,
6709                                     gchar const   *string ,   6709                                     gchar const   *string ,
6710                                     GRegexCompileFlags compile_options ,   6710                                     GRegexCompileFlags compile_options ,
6711                                     GRegexMatchFlags match_options ) ;   6711                                     GRegexMatchFlags match_options ) ;
6712 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,   6712 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,
6713                              GRegexMatchFlags match_options ) ;   6713                              GRegexMatchFlags match_options ) ;
6714 extern gchar **g_regex_split_full(GRegex const   *regex ,   6714 extern gchar **g_regex_split_full(GRegex const   *regex ,
6715                                   gchar const   *string , gssize string_len ,   6715                                   gchar const   *string , gssize string_len ,
6716                                   gint start_position ,   6716                                   gint start_position ,
6717                                   GRegexMatchFlags match_options ,   6717                                   GRegexMatchFlags match_options ,
6718                                   gint max_tokens , GError **error ) ;   6718                                   gint max_tokens , GError **error ) ;
6719 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,   6719 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,
6720                               gssize string_len , gint start_position ,   6720                               gssize string_len , gint start_position ,
6721                               gchar const   *replacement ,   6721                               gchar const   *replacement ,
6722                               GRegexMatchFlags match_options , GError **error ) ;   6722                               GRegexMatchFlags match_options , GError **error ) ;
6723 extern gchar *g_regex_replace_literal(GRegex const   *regex ,   6723 extern gchar *g_regex_replace_literal(GRegex const   *regex ,
6724                                       gchar const   *string ,   6724                                       gchar const   *string ,
6725                                       gssize string_len , gint start_position ,   6725                                       gssize string_len , gint start_position ,
6726                                       gchar const   *replacement ,   6726                                       gchar const   *replacement ,
6727                                       GRegexMatchFlags match_options ,   6727                                       GRegexMatchFlags match_options ,
6728                                       GError **error ) ;   6728                                       GError **error ) ;
6729 extern gchar *g_regex_replace_eval(GRegex const   *regex ,   6729 extern gchar *g_regex_replace_eval(GRegex const   *regex ,
6730                                    gchar const   *string , gssize string_len ,   6730                                    gchar const   *string , gssize string_len ,
6731                                    gint start_position ,   6731                                    gint start_position ,
6732                                    GRegexMatchFlags match_options ,   6732                                    GRegexMatchFlags match_options ,
6733                                    gboolean (*eval)(GMatchInfo const   *match_info ,   6733                                    gboolean (*eval)(GMatchInfo const   *match_info ,
6734                                                     GString *result ,   6734                                                     GString *result ,
6735                                                     gpointer user_data ) ,   6735                                                     gpointer user_data ) ,
6736                                    gpointer user_data , GError **error ) ;   6736                                    gpointer user_data , GError **error ) ;
6737 extern gboolean g_regex_check_replacement(gchar const   *replacement ,   6737 extern gboolean g_regex_check_replacement(gchar const   *replacement ,
6738                                           gboolean *has_references ,   6738                                           gboolean *has_references ,
6739                                           GError **error ) ;   6739                                           GError **error ) ;
6740 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;   6740 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;
6741 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;   6741 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;
6742 extern void g_match_info_free(GMatchInfo *match_info ) ;   6742 extern void g_match_info_free(GMatchInfo *match_info ) ;
6743 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;   6743 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;
6744 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;   6744 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;
6745 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;   6745 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;
6746 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;   6746 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;
6747 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,   6747 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,
6748                                              gchar const   *string_to_expand ,   6748                                              gchar const   *string_to_expand ,
6749                                              GError **error ) ;   6749                                              GError **error ) ;
6750 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,   6750 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,
6751                                  gint match_num ) ;   6751                                  gint match_num ) ;
6752 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,   6752 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,
6753                                        gint match_num , gint *start_pos ,   6753                                        gint match_num , gint *start_pos ,
6754                                        gint *end_pos ) ;   6754                                        gint *end_pos ) ;
6755 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,   6755 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,
6756                                        gchar const   *name ) ;   6756                                        gchar const   *name ) ;
6757 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,   6757 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,
6758                                              gchar const   *name ,   6758                                              gchar const   *name ,
6759                                              gint *start_pos , gint *end_pos ) ;   6759                                              gint *start_pos , gint *end_pos ) ;
6760 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;   6760 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;
6761 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;   6761 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;
6762 extern void g_scanner_destroy(GScanner *scanner ) ;   6762 extern void g_scanner_destroy(GScanner *scanner ) ;
6763 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;   6763 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;
6764 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;   6764 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;
6765 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,   6765 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,
6766                                  guint text_len ) ;   6766                                  guint text_len ) ;
6767 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;   6767 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;
6768 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;   6768 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;
6769 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;   6769 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;
6770 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;   6770 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;
6771 extern guint g_scanner_cur_line(GScanner *scanner ) ;   6771 extern guint g_scanner_cur_line(GScanner *scanner ) ;
6772 extern guint g_scanner_cur_position(GScanner *scanner ) ;   6772 extern guint g_scanner_cur_position(GScanner *scanner ) ;
6773 extern gboolean g_scanner_eof(GScanner *scanner ) ;   6773 extern gboolean g_scanner_eof(GScanner *scanner ) ;
6774 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;   6774 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;
6775 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,   6775 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,
6776                                        gchar const   *symbol , gpointer value ) ;   6776                                        gchar const   *symbol , gpointer value ) ;
6777 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,   6777 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,
6778                                           gchar const   *symbol ) ;   6778                                           gchar const   *symbol ) ;
6779 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,   6779 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,
6780                                               guint scope_id ,   6780                                               guint scope_id ,
6781                                               gchar const   *symbol ) ;   6781                                               gchar const   *symbol ) ;
6782 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,   6782 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,
6783                                            void (*func)(gpointer key ,   6783                                            void (*func)(gpointer key ,
6784                                                         gpointer value ,   6784                                                         gpointer value ,
6785                                                         gpointer user_data ) ,   6785                                                         gpointer user_data ) ,
6786                                            gpointer user_data ) ;   6786                                            gpointer user_data ) ;
6787 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,   6787 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,
6788                                         gchar const   *symbol ) ;   6788                                         gchar const   *symbol ) ;
6789 extern void g_scanner_unexp_token(GScanner *scanner ,   6789 extern void g_scanner_unexp_token(GScanner *scanner ,
6790                                   GTokenType expected_token ,   6790                                   GTokenType expected_token ,
6791                                   gchar const   *identifier_spec ,   6791                                   gchar const   *identifier_spec ,
6792                                   gchar const   *symbol_spec ,   6792                                   gchar const   *symbol_spec ,
6793                                   gchar const   *symbol_name ,   6793                                   gchar const   *symbol_name ,
6794                                   gchar const   *message , gint is_error ) ;   6794                                   gchar const   *message , gint is_error ) ;
6795 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,   6795 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,
6796                                                        gchar const   *format   6796                                                        gchar const   *format
6797                                                        , ...) ;   6797                                                        , ...) ;
6798 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,   6798 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,
6799                                                       gchar const   *format   6799                                                       gchar const   *format
6800                                                       , ...) ;   6800                                                       , ...) ;
6801 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;   6801 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;
6802 extern void g_sequence_free(GSequence *seq ) ;   6802 extern void g_sequence_free(GSequence *seq ) ;
6803 extern gint g_sequence_get_length(GSequence *seq ) ;   6803 extern gint g_sequence_get_length(GSequence *seq ) ;
6804 extern void g_sequence_foreach(GSequence *seq ,   6804 extern void g_sequence_foreach(GSequence *seq ,
6805                                void (*func)(gpointer data , gpointer user_data ) ,   6805                                void (*func)(gpointer data , gpointer user_data ) ,
6806                                gpointer user_data ) ;   6806                                gpointer user_data ) ;
6807 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,   6807 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,
6808                                      void (*func)(gpointer data ,   6808                                      void (*func)(gpointer data ,
6809                                                   gpointer user_data ) ,   6809                                                   gpointer user_data ) ,
6810                                      gpointer user_data ) ;   6810                                      gpointer user_data ) ;
6811 extern void g_sequence_sort(GSequence *seq ,   6811 extern void g_sequence_sort(GSequence *seq ,
6812                             gint (*cmp_func)(gconstpointer a ,   6812                             gint (*cmp_func)(gconstpointer a ,
6813                                              gconstpointer b ,   6813                                              gconstpointer b ,
6814                                              gpointer user_data ) ,   6814                                              gpointer user_data ) ,
6815                             gpointer cmp_data ) ;   6815                             gpointer cmp_data ) ;
6816 extern void g_sequence_sort_iter(GSequence *seq ,   6816 extern void g_sequence_sort_iter(GSequence *seq ,
6817                                  gint (*cmp_func)(GSequenceIter *a ,   6817                                  gint (*cmp_func)(GSequenceIter *a ,
6818                                                   GSequenceIter *b ,   6818                                                   GSequenceIter *b ,
6819                                                   gpointer data ) ,   6819                                                   gpointer data ) ,
6820                                  gpointer cmp_data ) ;   6820                                  gpointer cmp_data ) ;
6821 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;   6821 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;
6822 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;   6822 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;
6823 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;   6823 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;
6824 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;   6824 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;
6825 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;   6825 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;
6826 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,   6826 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,
6827                                                gpointer data ) ;   6827                                                gpointer data ) ;
6828 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;   6828 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;
6829 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;   6829 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;
6830 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,   6830 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,
6831                                                gint (*cmp_func)(gconstpointer a ,   6831                                                gint (*cmp_func)(gconstpointer a ,
6832                                                                 gconstpointer b ,   6832                                                                 gconstpointer b ,
6833                                                                 gpointer user_data ) ,   6833                                                                 gpointer user_data ) ,
6834                                                gpointer cmp_data ) ;   6834                                                gpointer cmp_data ) ;
6835 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,   6835 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,
6836                                                     gpointer data ,   6836                                                     gpointer data ,
6837                                                     gint (*iter_cmp)(GSequenceIter *a ,   6837                                                     gint (*iter_cmp)(GSequenceIter *a ,
6838                                                                      GSequenceIter *b ,   6838                                                                      GSequenceIter *b ,
6839                                                                      gpointer data ) ,   6839                                                                      gpointer data ) ,
6840                                                     gpointer cmp_data ) ;   6840                                                     gpointer cmp_data ) ;
6841 extern void g_sequence_sort_changed(GSequenceIter *iter ,   6841 extern void g_sequence_sort_changed(GSequenceIter *iter ,
6842                                     gint (*cmp_func)(gconstpointer a ,   6842                                     gint (*cmp_func)(gconstpointer a ,
6843                                                      gconstpointer b ,   6843                                                      gconstpointer b ,
6844                                                      gpointer user_data ) ,   6844                                                      gpointer user_data ) ,
6845                                     gpointer cmp_data ) ;   6845                                     gpointer cmp_data ) ;
6846 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,   6846 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,
6847                                          gint (*iter_cmp)(GSequenceIter *a ,   6847                                          gint (*iter_cmp)(GSequenceIter *a ,
6848                                                           GSequenceIter *b ,   6848                                                           GSequenceIter *b ,
6849                                                           gpointer data ) ,   6849                                                           gpointer data ) ,
6850                                          gpointer cmp_data ) ;   6850                                          gpointer cmp_data ) ;
6851 extern void g_sequence_remove(GSequenceIter *iter ) ;   6851 extern void g_sequence_remove(GSequenceIter *iter ) ;
6852 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;   6852 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;
6853 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,   6853 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,
6854                                   GSequenceIter *end ) ;   6854                                   GSequenceIter *end ) ;
6855 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,   6855 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,
6856                                         gint (*cmp_func)(gconstpointer a ,   6856                                         gint (*cmp_func)(gconstpointer a ,
6857                                                          gconstpointer b ,   6857                                                          gconstpointer b ,
6858                                                          gpointer user_data ) ,   6858                                                          gpointer user_data ) ,
6859                                         gpointer cmp_data ) ;   6859                                         gpointer cmp_data ) ;
6860 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,   6860 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,
6861                                              gint (*iter_cmp)(GSequenceIter *a ,   6861                                              gint (*iter_cmp)(GSequenceIter *a ,
6862                                                               GSequenceIter *b ,   6862                                                               GSequenceIter *b ,
6863                                                               gpointer data ) ,   6863                                                               gpointer data ) ,
6864                                              gpointer cmp_data ) ;   6864                                              gpointer cmp_data ) ;
6865 extern gpointer g_sequence_get(GSequenceIter *iter ) ;   6865 extern gpointer g_sequence_get(GSequenceIter *iter ) ;
6866 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;   6866 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;
6867 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;   6867 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;
6868 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;   6868 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;
6869 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;   6869 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;
6870 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;   6870 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;
6871 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;   6871 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;
6872 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;   6872 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;
6873 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;   6873 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;
6874 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;   6874 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;
6875 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,   6875 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,
6876                                                     GSequenceIter *end ) ;   6876                                                     GSequenceIter *end ) ;
6877 extern GQuark g_shell_error_quark(void) ;   6877 extern GQuark g_shell_error_quark(void) ;
6878 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;   6878 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;
6879 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;   6879 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;
6880 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,   6880 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,
6881                                    gchar ***argvp , GError **error ) ;   6881                                    gchar ***argvp , GError **error ) ;
6882 extern GQuark g_spawn_error_quark(void) ;   6882 extern GQuark g_spawn_error_quark(void) ;
6883 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,   6883 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,
6884                               gchar **envp , GSpawnFlags flags ,   6884                               gchar **envp , GSpawnFlags flags ,
6885                               void (*child_setup)(gpointer user_data ) ,   6885                               void (*child_setup)(gpointer user_data ) ,
6886                               gpointer user_data , GPid *child_pid ,   6886                               gpointer user_data , GPid *child_pid ,
6887                               GError **error ) ;   6887                               GError **error ) ;
6888 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,   6888 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,
6889                                          gchar **argv , gchar **envp ,   6889                                          gchar **argv , gchar **envp ,
6890                                          GSpawnFlags flags ,   6890                                          GSpawnFlags flags ,
6891                                          void (*child_setup)(gpointer user_data ) ,   6891                                          void (*child_setup)(gpointer user_data ) ,
6892                                          gpointer user_data , GPid *child_pid ,   6892                                          gpointer user_data , GPid *child_pid ,
6893                                          gint *standard_input ,   6893                                          gint *standard_input ,
6894                                          gint *standard_output ,   6894                                          gint *standard_output ,
6895                                          gint *standard_error , GError **error ) ;   6895                                          gint *standard_error , GError **error ) ;
6896 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,   6896 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,
6897                              gchar **envp , GSpawnFlags flags ,   6897                              gchar **envp , GSpawnFlags flags ,
6898                              void (*child_setup)(gpointer user_data ) ,   6898                              void (*child_setup)(gpointer user_data ) ,
6899                              gpointer user_data , gchar **standard_output ,   6899                              gpointer user_data , gchar **standard_output ,
6900                              gchar **standard_error , gint *exit_status ,   6900                              gchar **standard_error , gint *exit_status ,
6901                              GError **error ) ;   6901                              GError **error ) ;
6902 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,   6902 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,
6903                                           gchar **standard_output ,   6903                                           gchar **standard_output ,
6904                                           gchar **standard_error ,   6904                                           gchar **standard_error ,
6905                                           gint *exit_status , GError **error ) ;   6905                                           gint *exit_status , GError **error ) ;
6906 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,   6906 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,
6907                                            GError **error ) ;   6907                                            GError **error ) ;
6908 extern void g_spawn_close_pid(GPid pid ) ;   6908 extern void g_spawn_close_pid(GPid pid ) ;
6909 extern guint16 const   * const  g_ascii_table ;   6909 extern guint16 const   * const  g_ascii_table ;
6910 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;   6910 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;
6911 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;   6911 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;
6912 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;   6912 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;
6913 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;   6913 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;
6914 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,   6914 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,
6915                            gchar new_delimiter ) ;   6915                            gchar new_delimiter ) ;
6916 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,   6916 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,
6917                          gchar substitutor ) ;   6917                          gchar substitutor ) ;
6918 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;   6918 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;
6919 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;   6919 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;
6920 extern gchar *g_strreverse(gchar *string ) ;   6920 extern gchar *g_strreverse(gchar *string ) ;
6921 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;   6921 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;
6922 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;   6922 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;
6923 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,   6923 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,
6924                            gchar const   *needle ) ;   6924                            gchar const   *needle ) ;
6925 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;   6925 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;
6926 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,   6926 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,
6927                             gchar const   *needle ) ;   6927                             gchar const   *needle ) ;
6928 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;   6928 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;
6929 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;   6929 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;
6930 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;   6930 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;
6931 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;   6931 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;
6932 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,   6932 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,
6933                                 guint base ) ;   6933                                 guint base ) ;
6934 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;   6934 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;
6935 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;   6935 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;
6936 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,   6936 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,
6937                               gchar const   *format , gdouble d ) ;   6937                               gchar const   *format , gdouble d ) ;
6938 extern gchar *g_strchug(gchar *string ) ;   6938 extern gchar *g_strchug(gchar *string ) ;
6939 extern gchar *g_strchomp(gchar *string ) ;   6939 extern gchar *g_strchomp(gchar *string ) ;
6940 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   6940 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
6941 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   6941 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
6942 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6942 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6943 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6943 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6944 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   6944 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
6945 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;   6945 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;
6946 extern gchar *g_strdown(gchar *string ) ;   6946 extern gchar *g_strdown(gchar *string ) ;
6947 extern gchar *g_strup(gchar *string ) ;   6947 extern gchar *g_strup(gchar *string ) ;
6948 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;   6948 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;
6949 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format   6949 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format
6950                                                          , ...)  __attribute__((__malloc__)) ;   6950                                                          , ...)  __attribute__((__malloc__)) ;
6951 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;   6951 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;
6952 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;   6952 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;
6953 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;   6953 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;
6954 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,   6954 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,
6955 __malloc__)) ;   6955 __malloc__)) ;
6956 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,   6956 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,
6957 __malloc__)) ;   6957 __malloc__)) ;
6958 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;   6958 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;
6959 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;   6959 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;
6960 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,   6960 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,
6961 __alloc_size__(2))) ;   6961 __alloc_size__(2))) ;
6962 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,   6962 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,
6963                           gint max_tokens )  __attribute__((__malloc__)) ;   6963                           gint max_tokens )  __attribute__((__malloc__)) ;
6964 extern gchar **g_strsplit_set(gchar const   *string ,   6964 extern gchar **g_strsplit_set(gchar const   *string ,
6965                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;   6965                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;
6966 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;   6966 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;
6967 extern void g_strfreev(gchar **str_array ) ;   6967 extern void g_strfreev(gchar **str_array ) ;
6968 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;   6968 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;
6969 extern guint g_strv_length(gchar **str_array ) ;   6969 extern guint g_strv_length(gchar **str_array ) ;
6970 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;   6970 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;
6971 extern gchar const   *g_strip_context(gchar const   *msgid ,   6971 extern gchar const   *g_strip_context(gchar const   *msgid ,
6972                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;   6972                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;
6973 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;   6973 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;
6974 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,   6974 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,
6975                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;   6975                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;
6976 extern gchar const   *g_dpgettext(gchar const   *domain ,   6976 extern gchar const   *g_dpgettext(gchar const   *domain ,
6977                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;   6977                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;
6978 extern gchar const   *g_dpgettext2(gchar const   *domain ,   6978 extern gchar const   *g_dpgettext2(gchar const   *domain ,
6979                                    gchar const   *context ,   6979                                    gchar const   *context ,
6980                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;   6980                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;
6981 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;   6981 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;
6982 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,   6982 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,
6983                                                                char const   *format   6983                                                                char const   *format
6984                                                                , ...) ;   6984                                                                , ...) ;
6985 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,   6985 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,
6986                                                                char const   *format   6986                                                                char const   *format
6987                                                                , ...) ;   6987                                                                , ...) ;
6988 extern void g_test_init(int *argc , char ***argv  , ...) ;   6988 extern void g_test_init(int *argc , char ***argv  , ...) ;
6989 extern int g_test_run(void) ;   6989 extern int g_test_run(void) ;
6990 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;   6990 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;
6991 extern void g_test_add_data_func(char const   *testpath ,   6991 extern void g_test_add_data_func(char const   *testpath ,
6992                                  gconstpointer test_data ,   6992                                  gconstpointer test_data ,
6993                                  void (*test_func)(gconstpointer  ) ) ;   6993                                  void (*test_func)(gconstpointer  ) ) ;
6994 extern void ( /* format attribute */  g_test_message)(char const   *format   6994 extern void ( /* format attribute */  g_test_message)(char const   *format
6995                                                       , ...) ;   6995                                                       , ...) ;
6996 extern void g_test_bug_base(char const   *uri_pattern ) ;   6996 extern void g_test_bug_base(char const   *uri_pattern ) ;
6997 extern void g_test_bug(char const   *bug_uri_snippet ) ;   6997 extern void g_test_bug(char const   *bug_uri_snippet ) ;
6998 extern void g_test_timer_start(void) ;   6998 extern void g_test_timer_start(void) ;
6999 extern double g_test_timer_elapsed(void) ;   6999 extern double g_test_timer_elapsed(void) ;
7000 extern double g_test_timer_last(void) ;   7000 extern double g_test_timer_last(void) ;
7001 extern void g_test_queue_free(gpointer gfree_pointer ) ;   7001 extern void g_test_queue_free(gpointer gfree_pointer ) ;
7002 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,   7002 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,
7003                                  gpointer destroy_data ) ;   7003                                  gpointer destroy_data ) ;
7004 extern gboolean g_test_trap_fork(guint64 usec_timeout ,   7004 extern gboolean g_test_trap_fork(guint64 usec_timeout ,
7005                                  GTestTrapFlags test_trap_flags ) ;   7005                                  GTestTrapFlags test_trap_flags ) ;
7006 extern gboolean g_test_trap_has_passed(void) ;   7006 extern gboolean g_test_trap_has_passed(void) ;
7007 extern gboolean g_test_trap_reached_timeout(void) ;   7007 extern gboolean g_test_trap_reached_timeout(void) ;
7008 extern gint32 g_test_rand_int(void) ;   7008 extern gint32 g_test_rand_int(void) ;
7009 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;   7009 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;
7010 extern double g_test_rand_double(void) ;   7010 extern double g_test_rand_double(void) ;
7011 extern double g_test_rand_double_range(double range_start , double range_end ) ;   7011 extern double g_test_rand_double_range(double range_start , double range_end ) ;
7012 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,   7012 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,
7013                                      gconstpointer test_data ,   7013                                      gconstpointer test_data ,
7014                                      void (*data_setup)(void) ,   7014                                      void (*data_setup)(void) ,
7015                                      void (*data_test)(void) ,   7015                                      void (*data_test)(void) ,
7016                                      void (*data_teardown)(void) ) ;   7016                                      void (*data_teardown)(void) ) ;
7017 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;   7017 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;
7018 extern GTestSuite *g_test_get_root(void) ;   7018 extern GTestSuite *g_test_get_root(void) ;
7019 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;   7019 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;
7020 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;   7020 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;
7021 extern int g_test_run_suite(GTestSuite *suite ) ;   7021 extern int g_test_run_suite(GTestSuite *suite ) ;
7022 extern void g_test_trap_assertions(char const   *domain , char const   *file ,   7022 extern void g_test_trap_assertions(char const   *domain , char const   *file ,
7023                                    int line , char const   *func ,   7023                                    int line , char const   *func ,
7024                                    guint64 assertion_flags ,   7024                                    guint64 assertion_flags ,
7025                                    char const   *pattern ) ;   7025                                    char const   *pattern ) ;
7026 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,   7026 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,
7027                                                                char const   *file ,   7027                                                                char const   *file ,
7028                                                                int line ,   7028                                                                int line ,
7029                                                                char const   *func ,   7029                                                                char const   *func ,
7030                                                                char const   *message ) ;   7030                                                                char const   *message ) ;
7031 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,   7031 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,
7032                                                                     char const   *file ,   7032                                                                     char const   *file ,
7033                                                                     int line ,   7033                                                                     int line ,
7034                                                                     char const   *func ,   7034                                                                     char const   *func ,
7035                                                                     char const   *expr ) ;   7035                                                                     char const   *expr ) ;
7036 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,   7036 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,
7037                                                                       char const   *file ,   7037                                                                       char const   *file ,
7038                                                                       int line ,   7038                                                                       int line ,
7039                                                                       char const   *func ,   7039                                                                       char const   *func ,
7040                                                                       char const   *expr ,   7040                                                                       char const   *expr ,
7041                                                                       char const   *arg1 ,   7041                                                                       char const   *arg1 ,
7042                                                                       char const   *cmp ,   7042                                                                       char const   *cmp ,
7043                                                                       char const   *arg2 ) ;   7043                                                                       char const   *arg2 ) ;
7044 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,   7044 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,
7045                                                                       char const   *file ,   7045                                                                       char const   *file ,
7046                                                                       int line ,   7046                                                                       int line ,
7047                                                                       char const   *func ,   7047                                                                       char const   *func ,
7048                                                                       char const   *expr ,   7048                                                                       char const   *expr ,
7049                                                                       long double arg1 ,   7049                                                                       long double arg1 ,
7050                                                                       char const   *cmp ,   7050                                                                       char const   *cmp ,
7051                                                                       long double arg2 ,   7051                                                                       long double arg2 ,
7052                                                                       char numtype ) ;   7052                                                                       char numtype ) ;
7053 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,   7053 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,
7054                                                                      char const   *file ,   7054                                                                      char const   *file ,
7055                                                                      int line ,   7055                                                                      int line ,
7056                                                                      char const   *func ,   7056                                                                      char const   *func ,
7057                                                                      char const   *expr ,   7057                                                                      char const   *expr ,
7058                                                                      GError *error ,   7058                                                                      GError *error ,
7059                                                                      GQuark error_domain ,   7059                                                                      GQuark error_domain ,
7060                                                                      int error_code ) ;   7060                                                                      int error_code ) ;
7061 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,   7061 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,
7062                               gconstpointer test_data ,   7062                               gconstpointer test_data ,
7063                               void (*data_setup)(void) ,   7063                               void (*data_setup)(void) ,
7064                               void (*data_test)(void) ,   7064                               void (*data_test)(void) ,
7065                               void (*data_teardown)(void) ) ;   7065                               void (*data_teardown)(void) ) ;
7066 extern GTestConfig const   * const  g_test_config_vars ;   7066 extern GTestConfig const   * const  g_test_config_vars ;
7067 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;   7067 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;
7068 extern GTestLogBuffer *g_test_log_buffer_new(void) ;   7068 extern GTestLogBuffer *g_test_log_buffer_new(void) ;
7069 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;   7069 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;
7070 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,   7070 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,
7071                                    guint8 const   *bytes ) ;   7071                                    guint8 const   *bytes ) ;
7072 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;   7072 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;
7073 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;   7073 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;
7074 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,   7074 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,
7075                                                               GLogLevelFlags log_level ,   7075                                                               GLogLevelFlags log_level ,
7076                                                               gchar const   *message ,   7076                                                               gchar const   *message ,
7077                                                               gpointer user_data ) ,   7077                                                               gpointer user_data ) ,
7078                                          gpointer user_data ) ;   7078                                          gpointer user_data ) ;
7079 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,   7079 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,
7080                                                    gpointer user_data ) ,   7080                                                    gpointer user_data ) ,
7081                                       gpointer user_data , gint max_threads ,   7081                                       gpointer user_data , gint max_threads ,
7082                                       gboolean exclusive , GError **error ) ;   7082                                       gboolean exclusive , GError **error ) ;
7083 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,   7083 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,
7084                                GError **error ) ;   7084                                GError **error ) ;
7085 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,   7085 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,
7086                                           GError **error ) ;   7086                                           GError **error ) ;
7087 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;   7087 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;
7088 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;   7088 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;
7089 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;   7089 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;
7090 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,   7090 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,
7091                                gboolean wait_ ) ;   7091                                gboolean wait_ ) ;
7092 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;   7092 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;
7093 extern gint g_thread_pool_get_max_unused_threads(void) ;   7093 extern gint g_thread_pool_get_max_unused_threads(void) ;
7094 extern guint g_thread_pool_get_num_unused_threads(void) ;   7094 extern guint g_thread_pool_get_num_unused_threads(void) ;
7095 extern void g_thread_pool_stop_unused_threads(void) ;   7095 extern void g_thread_pool_stop_unused_threads(void) ;
7096 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,   7096 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,
7097                                             gint (*func)(gconstpointer a ,   7097                                             gint (*func)(gconstpointer a ,
7098                                                          gconstpointer b ,   7098                                                          gconstpointer b ,
7099                                                          gpointer user_data ) ,   7099                                                          gpointer user_data ) ,
7100                                             gpointer user_data ) ;   7100                                             gpointer user_data ) ;
7101 extern void g_thread_pool_set_max_idle_time(guint interval ) ;   7101 extern void g_thread_pool_set_max_idle_time(guint interval ) ;
7102 extern guint g_thread_pool_get_max_idle_time(void) ;   7102 extern guint g_thread_pool_get_max_idle_time(void) ;
7103 extern GTimer *g_timer_new(void) ;   7103 extern GTimer *g_timer_new(void) ;
7104 extern void g_timer_destroy(GTimer *timer ) ;   7104 extern void g_timer_destroy(GTimer *timer ) ;
7105 extern void g_timer_start(GTimer *timer ) ;   7105 extern void g_timer_start(GTimer *timer ) ;
7106 extern void g_timer_stop(GTimer *timer ) ;   7106 extern void g_timer_stop(GTimer *timer ) ;
7107 extern void g_timer_reset(GTimer *timer ) ;   7107 extern void g_timer_reset(GTimer *timer ) ;
7108 extern void g_timer_continue(GTimer *timer ) ;   7108 extern void g_timer_continue(GTimer *timer ) ;
7109 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;   7109 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;
7110 extern void g_usleep(gulong microseconds ) ;   7110 extern void g_usleep(gulong microseconds ) ;
7111 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;   7111 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;
7112 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,   7112 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,
7113                                         GTimeVal *time_ ) ;   7113                                         GTimeVal *time_ ) ;
7114 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;   7114 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;
7115 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,   7115 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,
7116                                                   gconstpointer b ) ) ;   7116                                                   gconstpointer b ) ) ;
7117 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,   7117 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,
7118                                                             gconstpointer b ,   7118                                                             gconstpointer b ,
7119                                                             gpointer user_data ) ,   7119                                                             gpointer user_data ) ,
7120                                    gpointer key_compare_data ) ;   7120                                    gpointer key_compare_data ) ;
7121 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,   7121 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,
7122                                                        gconstpointer b ,   7122                                                        gconstpointer b ,
7123                                                        gpointer user_data ) ,   7123                                                        gpointer user_data ) ,
7124                               gpointer key_compare_data ,   7124                               gpointer key_compare_data ,
7125                               void (*key_destroy_func)(gpointer data ) ,   7125                               void (*key_destroy_func)(gpointer data ) ,
7126                               void (*value_destroy_func)(gpointer data ) ) ;   7126                               void (*value_destroy_func)(gpointer data ) ) ;
7127 extern GTree *g_tree_ref(GTree *tree ) ;   7127 extern GTree *g_tree_ref(GTree *tree ) ;
7128 extern void g_tree_unref(GTree *tree ) ;   7128 extern void g_tree_unref(GTree *tree ) ;
7129 extern void g_tree_destroy(GTree *tree ) ;   7129 extern void g_tree_destroy(GTree *tree ) ;
7130 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;   7130 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;
7131 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;   7131 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;
7132 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;   7132 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;
7133 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;   7133 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;
7134 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;   7134 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;
7135 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,   7135 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,
7136                                        gpointer *orig_key , gpointer *value ) ;   7136                                        gpointer *orig_key , gpointer *value ) ;
7137 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,   7137 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,
7138                                                           gpointer value ,   7138                                                           gpointer value ,
7139                                                           gpointer data ) ,   7139                                                           gpointer data ) ,
7140                            gpointer user_data ) ;   7140                            gpointer user_data ) ;
7141 extern void g_tree_traverse(GTree *tree ,   7141 extern void g_tree_traverse(GTree *tree ,
7142                             gboolean (*traverse_func)(gpointer key ,   7142                             gboolean (*traverse_func)(gpointer key ,
7143                                                       gpointer value ,   7143                                                       gpointer value ,
7144                                                       gpointer data ) ,   7144                                                       gpointer data ) ,
7145                             GTraverseType traverse_type , gpointer user_data ) ;   7145                             GTraverseType traverse_type , gpointer user_data ) ;
7146 extern gpointer g_tree_search(GTree *tree ,   7146 extern gpointer g_tree_search(GTree *tree ,
7147                               gint (*search_func)(gconstpointer a ,   7147                               gint (*search_func)(gconstpointer a ,
7148                                                   gconstpointer b ) ,   7148                                                   gconstpointer b ) ,
7149                               gconstpointer user_data ) ;   7149                               gconstpointer user_data ) ;
7150 extern gint g_tree_height(GTree *tree ) ;   7150 extern gint g_tree_height(GTree *tree ) ;
7151 extern gint g_tree_nnodes(GTree *tree ) ;   7151 extern gint g_tree_nnodes(GTree *tree ) ;
7152 extern char *g_uri_unescape_string(char const   *escaped_string ,   7152 extern char *g_uri_unescape_string(char const   *escaped_string ,
7153                                    char const   *illegal_characters ) ;   7153                                    char const   *illegal_characters ) ;
7154 extern char *g_uri_unescape_segment(char const   *escaped_string ,   7154 extern char *g_uri_unescape_segment(char const   *escaped_string ,
7155                                     char const   *escaped_string_end ,   7155                                     char const   *escaped_string_end ,
7156                                     char const   *illegal_characters ) ;   7156                                     char const   *illegal_characters ) ;
7157 extern char *g_uri_parse_scheme(char const   *uri ) ;   7157 extern char *g_uri_parse_scheme(char const   *uri ) ;
7158 extern char *g_uri_escape_string(char const   *unescaped ,   7158 extern char *g_uri_escape_string(char const   *unescaped ,
7159                                  char const   *reserved_chars_allowed ,   7159                                  char const   *reserved_chars_allowed ,
7160                                  gboolean allow_utf8 ) ;   7160                                  gboolean allow_utf8 ) ;
7161 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;   7161 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;
7162 extern gboolean g_variant_type_string_scan(gchar const   *string ,   7162 extern gboolean g_variant_type_string_scan(gchar const   *string ,
7163                                            gchar const   *limit ,   7163                                            gchar const   *limit ,
7164                                            gchar const   **endptr ) ;   7164                                            gchar const   **endptr ) ;
7165 extern void g_variant_type_free(GVariantType *type ) ;   7165 extern void g_variant_type_free(GVariantType *type ) ;
7166 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;   7166 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;
7167 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;   7167 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;
7168 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;   7168 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;
7169 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;   7169 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;
7170 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;   7170 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;
7171 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;   7171 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;
7172 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;   7172 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;
7173 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;   7173 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;
7174 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;   7174 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;
7175 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;   7175 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;
7176 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;   7176 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;
7177 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;   7177 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;
7178 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;   7178 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;
7179 extern guint g_variant_type_hash(gconstpointer type ) ;   7179 extern guint g_variant_type_hash(gconstpointer type ) ;
7180 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;   7180 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;
7181 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,   7181 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,
7182                                              GVariantType const   *supertype ) ;   7182                                              GVariantType const   *supertype ) ;
7183 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;   7183 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;
7184 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;   7184 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;
7185 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;   7185 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;
7186 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;   7186 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;
7187 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;   7187 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;
7188 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;   7188 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;
7189 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;   7189 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;
7190 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;   7190 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;
7191 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,   7191 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,
7192                                               gint length ) ;   7192                                               gint length ) ;
7193 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,   7193 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,
7194                                                    GVariantType const   *value ) ;   7194                                                    GVariantType const   *value ) ;
7195 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;   7195 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;
7196 extern void g_variant_unref(GVariant *value ) ;   7196 extern void g_variant_unref(GVariant *value ) ;
7197 extern GVariant *g_variant_ref(GVariant *value ) ;   7197 extern GVariant *g_variant_ref(GVariant *value ) ;
7198 extern GVariant *g_variant_ref_sink(GVariant *value ) ;   7198 extern GVariant *g_variant_ref_sink(GVariant *value ) ;
7199 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;   7199 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;
7200 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;   7200 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;
7201 extern gboolean g_variant_is_of_type(GVariant *value ,   7201 extern gboolean g_variant_is_of_type(GVariant *value ,
7202                                      GVariantType const   *type ) ;   7202                                      GVariantType const   *type ) ;
7203 extern gboolean g_variant_is_container(GVariant *value ) ;   7203 extern gboolean g_variant_is_container(GVariant *value ) ;
7204 extern GVariantClass g_variant_classify(GVariant *value ) ;   7204 extern GVariantClass g_variant_classify(GVariant *value ) ;
7205 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;   7205 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;
7206 extern GVariant *g_variant_new_byte(guchar byte ) ;   7206 extern GVariant *g_variant_new_byte(guchar byte ) ;
7207 extern GVariant *g_variant_new_int16(gint16 int16 ) ;   7207 extern GVariant *g_variant_new_int16(gint16 int16 ) ;
7208 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;   7208 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;
7209 extern GVariant *g_variant_new_int32(gint32 int32 ) ;   7209 extern GVariant *g_variant_new_int32(gint32 int32 ) ;
7210 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;   7210 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;
7211 extern GVariant *g_variant_new_int64(gint64 int64 ) ;   7211 extern GVariant *g_variant_new_int64(gint64 int64 ) ;
7212 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;   7212 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;
7213 extern GVariant *g_variant_new_handle(gint32 handle ) ;   7213 extern GVariant *g_variant_new_handle(gint32 handle ) ;
7214 extern GVariant *g_variant_new_double(gdouble floating ) ;   7214 extern GVariant *g_variant_new_double(gdouble floating ) ;
7215 extern GVariant *g_variant_new_string(gchar const   *string ) ;   7215 extern GVariant *g_variant_new_string(gchar const   *string ) ;
7216 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;   7216 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;
7217 extern gboolean g_variant_is_object_path(gchar const   *string ) ;   7217 extern gboolean g_variant_is_object_path(gchar const   *string ) ;
7218 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;   7218 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;
7219 extern gboolean g_variant_is_signature(gchar const   *string ) ;   7219 extern gboolean g_variant_is_signature(gchar const   *string ) ;
7220 extern GVariant *g_variant_new_variant(GVariant *value ) ;   7220 extern GVariant *g_variant_new_variant(GVariant *value ) ;
7221 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,   7221 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,
7222                                     gssize length ) ;   7222                                     gssize length ) ;
7223 extern gboolean g_variant_get_boolean(GVariant *value ) ;   7223 extern gboolean g_variant_get_boolean(GVariant *value ) ;
7224 extern guchar g_variant_get_byte(GVariant *value ) ;   7224 extern guchar g_variant_get_byte(GVariant *value ) ;
7225 extern gint16 g_variant_get_int16(GVariant *value ) ;   7225 extern gint16 g_variant_get_int16(GVariant *value ) ;
7226 extern guint16 g_variant_get_uint16(GVariant *value ) ;   7226 extern guint16 g_variant_get_uint16(GVariant *value ) ;
7227 extern gint32 g_variant_get_int32(GVariant *value ) ;   7227 extern gint32 g_variant_get_int32(GVariant *value ) ;
7228 extern guint32 g_variant_get_uint32(GVariant *value ) ;   7228 extern guint32 g_variant_get_uint32(GVariant *value ) ;
7229 extern gint64 g_variant_get_int64(GVariant *value ) ;   7229 extern gint64 g_variant_get_int64(GVariant *value ) ;
7230 extern guint64 g_variant_get_uint64(GVariant *value ) ;   7230 extern guint64 g_variant_get_uint64(GVariant *value ) ;
7231 extern gint32 g_variant_get_handle(GVariant *value ) ;   7231 extern gint32 g_variant_get_handle(GVariant *value ) ;
7232 extern gdouble g_variant_get_double(GVariant *value ) ;   7232 extern gdouble g_variant_get_double(GVariant *value ) ;
7233 extern GVariant *g_variant_get_variant(GVariant *value ) ;   7233 extern GVariant *g_variant_get_variant(GVariant *value ) ;
7234 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;   7234 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;
7235 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;   7235 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;
7236 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;   7236 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;
7237 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;   7237 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;
7238 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,   7238 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,
7239                                      GVariant *child ) ;   7239                                      GVariant *child ) ;
7240 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,   7240 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,
7241                                      GVariant * const  *children ,   7241                                      GVariant * const  *children ,
7242                                      gsize n_children ) ;   7242                                      gsize n_children ) ;
7243 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,   7243 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,
7244                                      gsize n_children ) ;   7244                                      gsize n_children ) ;
7245 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;   7245 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;
7246 extern GVariant *g_variant_get_maybe(GVariant *value ) ;   7246 extern GVariant *g_variant_get_maybe(GVariant *value ) ;
7247 extern gsize g_variant_n_children(GVariant *value ) ;   7247 extern gsize g_variant_n_children(GVariant *value ) ;
7248 extern void g_variant_get_child(GVariant *value , gsize index_ ,   7248 extern void g_variant_get_child(GVariant *value , gsize index_ ,
7249                                 gchar const   *format_string  , ...) ;   7249                                 gchar const   *format_string  , ...) ;
7250 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;   7250 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;
7251 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,   7251 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,
7252                                                gsize *n_elements ,   7252                                                gsize *n_elements ,
7253                                                gsize element_size ) ;   7253                                                gsize element_size ) ;
7254 extern gsize g_variant_get_size(GVariant *value ) ;   7254 extern gsize g_variant_get_size(GVariant *value ) ;
7255 extern gconstpointer g_variant_get_data(GVariant *value ) ;   7255 extern gconstpointer g_variant_get_data(GVariant *value ) ;
7256 extern void g_variant_store(GVariant *value , gpointer data ) ;   7256 extern void g_variant_store(GVariant *value , gpointer data ) ;
7257 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;   7257 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;
7258 extern GString *g_variant_print_string(GVariant *value , GString *string ,   7258 extern GString *g_variant_print_string(GVariant *value , GString *string ,
7259                                        gboolean type_annotate ) ;   7259                                        gboolean type_annotate ) ;
7260 extern guint g_variant_hash(gconstpointer value ) ;   7260 extern guint g_variant_hash(gconstpointer value ) ;
7261 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;   7261 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;
7262 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;   7262 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;
7263 extern gboolean g_variant_is_normal_form(GVariant *value ) ;   7263 extern gboolean g_variant_is_normal_form(GVariant *value ) ;
7264 extern GVariant *g_variant_byteswap(GVariant *value ) ;   7264 extern GVariant *g_variant_byteswap(GVariant *value ) ;
7265 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,   7265 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,
7266                                          gconstpointer data , gsize size ,   7266                                          gconstpointer data , gsize size ,
7267                                          gboolean trusted ,   7267                                          gboolean trusted ,
7268                                          void (*notify)(gpointer data ) ,   7268                                          void (*notify)(gpointer data ) ,
7269                                          gpointer user_data ) ;   7269                                          gpointer user_data ) ;
7270 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;   7270 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;
7271 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;   7271 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;
7272 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;   7272 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;
7273 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;   7273 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;
7274 extern void g_variant_iter_free(GVariantIter *iter ) ;   7274 extern void g_variant_iter_free(GVariantIter *iter ) ;
7275 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;   7275 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;
7276 extern gboolean g_variant_iter_next(GVariantIter *iter ,   7276 extern gboolean g_variant_iter_next(GVariantIter *iter ,
7277                                     gchar const   *format_string  , ...) ;   7277                                     gchar const   *format_string  , ...) ;
7278 extern gboolean g_variant_iter_loop(GVariantIter *iter ,   7278 extern gboolean g_variant_iter_loop(GVariantIter *iter ,
7279                                     gchar const   *format_string  , ...) ;   7279                                     gchar const   *format_string  , ...) ;
7280 extern GQuark g_variant_parser_get_error_quark(void) ;   7280 extern GQuark g_variant_parser_get_error_quark(void) ;
7281 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;   7281 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;
7282 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;   7282 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;
7283 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;   7283 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;
7284 extern void g_variant_builder_init(GVariantBuilder *builder ,   7284 extern void g_variant_builder_init(GVariantBuilder *builder ,
7285                                    GVariantType const   *type ) ;   7285                                    GVariantType const   *type ) ;
7286 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;   7286 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;
7287 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;   7287 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;
7288 extern void g_variant_builder_open(GVariantBuilder *builder ,   7288 extern void g_variant_builder_open(GVariantBuilder *builder ,
7289                                    GVariantType const   *type ) ;   7289                                    GVariantType const   *type ) ;
7290 extern void g_variant_builder_close(GVariantBuilder *builder ) ;   7290 extern void g_variant_builder_close(GVariantBuilder *builder ) ;
7291 extern void g_variant_builder_add_value(GVariantBuilder *builder ,   7291 extern void g_variant_builder_add_value(GVariantBuilder *builder ,
7292                                         GVariant *value ) ;   7292                                         GVariant *value ) ;
7293 extern void g_variant_builder_add(GVariantBuilder *builder ,   7293 extern void g_variant_builder_add(GVariantBuilder *builder ,
7294                                   gchar const   *format_string  , ...) ;   7294                                   gchar const   *format_string  , ...) ;
7295 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;   7295 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;
7296 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;   7296 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;
7297 extern GVariant *g_variant_new_va(gchar const   *format_string ,   7297 extern GVariant *g_variant_new_va(gchar const   *format_string ,
7298                                   gchar const   **endptr , va_list *app ) ;   7298                                   gchar const   **endptr , va_list *app ) ;
7299 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,   7299 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,
7300                              gchar const   **endptr , va_list *app ) ;   7300                              gchar const   **endptr , va_list *app ) ;
7301 extern GVariant *g_variant_parse(GVariantType const   *type ,   7301 extern GVariant *g_variant_parse(GVariantType const   *type ,
7302                                  gchar const   *text , gchar const   *limit ,   7302                                  gchar const   *text , gchar const   *limit ,
7303                                  gchar const   **endptr , GError **error ) ;   7303                                  gchar const   **endptr , GError **error ) ;
7304 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;   7304 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;
7305 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;   7305 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;
7306 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   7306 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
7307                                                                                        void const   * __restrict  __src ,   7307                                                                                        void const   * __restrict  __src ,
7308                                                                                        size_t __n ) ;   7308                                                                                        size_t __n ) ;
7309 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   7309 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
7310                                                                                         void const   *__src ,   7310                                                                                         void const   *__src ,
7311                                                                                         size_t __n ) ;   7311                                                                                         size_t __n ) ;
7312 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   7312 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
7313                                                                                         void const   * __restrict  __src ,   7313                                                                                         void const   * __restrict  __src ,
7314                                                                                         int __c ,   7314                                                                                         int __c ,
7315                                                                                         size_t __n ) ;   7315                                                                                         size_t __n ) ;
7316 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   7316 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
7317                                                                                      int __c ,   7317                                                                                      int __c ,
7318                                                                                      size_t __n ) ;   7318                                                                                      size_t __n ) ;
7319 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   7319 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
7320                                                                                      void const   *__s2 ,   7320                                                                                      void const   *__s2 ,
7321                                                                                      size_t __n )  __attribute__((__pure__)) ;   7321                                                                                      size_t __n )  __attribute__((__pure__)) ;
7322 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   7322 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
7323                                                                                      int __c ,   7323                                                                                      int __c ,
7324                                                                                      size_t __n )  __attribute__((__pure__)) ;   7324                                                                                      size_t __n )  __attribute__((__pure__)) ;
7325 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   7325 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
7326                                                                                        char const   * __restrict  __src ) ;   7326                                                                                        char const   * __restrict  __src ) ;
7327 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   7327 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
7328                                                                                         char const   * __restrict  __src ,   7328                                                                                         char const   * __restrict  __src ,
7329                                                                                         size_t __n ) ;   7329                                                                                         size_t __n ) ;
7330 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   7330 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
7331                                                                                        char const   * __restrict  __src ) ;   7331                                                                                        char const   * __restrict  __src ) ;
7332 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   7332 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
7333                                                                                         char const   * __restrict  __src ,   7333                                                                                         char const   * __restrict  __src ,
7334                                                                                         size_t __n ) ;   7334                                                                                         size_t __n ) ;
7335 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   7335 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
7336                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   7336                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
7337 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   7337 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
7338                                                                                       char const   *__s2 ,   7338                                                                                       char const   *__s2 ,
7339                                                                                       size_t __n )  __attribute__((__pure__)) ;   7339                                                                                       size_t __n )  __attribute__((__pure__)) ;
7340 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   7340 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
7341                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   7341                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
7342 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   7342 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
7343                                                                                        char const   * __restrict  __src ,   7343                                                                                        char const   * __restrict  __src ,
7344                                                                                        size_t __n ) ;   7344                                                                                        size_t __n ) ;
7345 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   7345 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
7346                                                                                           char const   *__s2 ,   7346                                                                                           char const   *__s2 ,
7347                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   7347                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
7348 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   7348 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
7349                                                                                            char const   *__src ,   7349                                                                                            char const   *__src ,
7350                                                                                            size_t __n ,   7350                                                                                            size_t __n ,
7351                                                                                            __locale_t __l ) ;   7351                                                                                            __locale_t __l ) ;
7352 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   7352 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
7353 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   7353 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
7354                                                                                       size_t __n )  __attribute__((__malloc__)) ;   7354                                                                                       size_t __n )  __attribute__((__malloc__)) ;
7355 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   7355 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
7356                                                                                      int __c )  __attribute__((__pure__)) ;   7356                                                                                      int __c )  __attribute__((__pure__)) ;
7357 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   7357 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
7358                                                                                       int __c )  __attribute__((__pure__)) ;   7358                                                                                       int __c )  __attribute__((__pure__)) ;
7359 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   7359 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
7360                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   7360                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
7361 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   7361 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
7362                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   7362                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
7363 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   7363 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
7364                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   7364                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
7365 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   7365 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
7366                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   7366                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
7367 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   7367 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
7368                                                                                      char const   * __restrict  __delim ) ;   7368                                                                                      char const   * __restrict  __delim ) ;
7369 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   7369 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
7370                                                                                            char const   * __restrict  __delim ,   7370                                                                                            char const   * __restrict  __delim ,
7371                                                                                            char ** __restrict  __save_ptr ) ;   7371                                                                                            char ** __restrict  __save_ptr ) ;
7372 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   7372 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
7373                                                                                          char const   * __restrict  __delim ,   7373                                                                                          char const   * __restrict  __delim ,
7374                                                                                          char ** __restrict  __save_ptr ) ;   7374                                                                                          char ** __restrict  __save_ptr ) ;
7375 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   7375 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
7376 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   7376 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
7377                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   7377                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
7378 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   7378 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
7379 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   7379 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
7380                                                                                        char *__buf ,   7380                                                                                        char *__buf ,
7381                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   7381                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
7382 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   7382 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
7383                                                       __locale_t __l ) ;   7383                                                       __locale_t __l ) ;
7384 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   7384 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
7385                                                                                      size_t __n ) ;   7385                                                                                      size_t __n ) ;
7386 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   7386 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
7387                                                                                      void *__dest ,   7387                                                                                      void *__dest ,
7388                                                                                      size_t __n ) ;   7388                                                                                      size_t __n ) ;
7389 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   7389 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
7390                                                                                    size_t __n ) ;   7390                                                                                    size_t __n ) ;
7391 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   7391 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
7392                                                                                    void const   *__s2 ,   7392                                                                                    void const   *__s2 ,
7393                                                                                    size_t __n )  __attribute__((__pure__)) ;   7393                                                                                    size_t __n )  __attribute__((__pure__)) ;
7394 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   7394 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
7395                                                                                     int __c )  __attribute__((__pure__)) ;   7395                                                                                     int __c )  __attribute__((__pure__)) ;
7396 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   7396 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
7397                                                                                      int __c )  __attribute__((__pure__)) ;   7397                                                                                      int __c )  __attribute__((__pure__)) ;
7398 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   7398 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
7399 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   7399 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
7400                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   7400                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
7401 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   7401 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
7402                                                                                           char const   *__s2 ,   7402                                                                                           char const   *__s2 ,
7403                                                                                           size_t __n )  __attribute__((__pure__)) ;   7403                                                                                           size_t __n )  __attribute__((__pure__)) ;
7404 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   7404 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
7405                                                                                        char const   * __restrict  __delim ) ;   7405                                                                                        char const   * __restrict  __delim ) ;
7406 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   7406 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
7407 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   7407 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
7408                                                                                          char const   * __restrict  __src ) ;   7408                                                                                          char const   * __restrict  __src ) ;
7409 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   7409 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
7410                                                                                        char const   * __restrict  __src ) ;   7410                                                                                        char const   * __restrict  __src ) ;
7411 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   7411 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
7412                                                                                           char const   * __restrict  __src ,   7412                                                                                           char const   * __restrict  __src ,
7413                                                                                           size_t __n ) ;   7413                                                                                           size_t __n ) ;
7414 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   7414 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
7415                                                                                         char const   * __restrict  __src ,   7415                                                                                         char const   * __restrict  __src ,
7416                                                                                         size_t __n ) ;   7416                                                                                         size_t __n ) ;
7417 extern void *__rawmemchr(void const   *__s , int __c ) ;   7417 extern void *__rawmemchr(void const   *__s , int __c ) ;
7418 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;   7418 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
7419 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )   7419 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )
7420 {   7420 {
7421   register size_t __result ;   7421   register size_t __result ;
7422     7422  
7423   {   7423   {
7424   __result = (size_t )0;   7424   __result = (size_t )0;
7425   while (1) {   7425   while (1) {
7426     if ((int const   )*(__s + __result) != 0) {   7426     if ((int const   )*(__s + __result) != 0) {
7427       if ((int const   )*(__s + __result) != (int const   )__reject) {   7427       if ((int const   )*(__s + __result) != (int const   )__reject) {
7428     7428  
7429       } else {   7429       } else {
7430         break;   7430         break;
7431       }   7431       }
7432     } else {   7432     } else {
7433       break;   7433       break;
7434     }   7434     }
7435     __result ++;   7435     __result ++;
7436   }   7436   }
7437   return (__result);   7437   return (__result);
7438 }   7438 }
7439 }   7439 }
7440 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   7440 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
7441                                     int __reject2 ) ;   7441                                     int __reject2 ) ;
7442 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   7442 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
7443                                     int __reject2 )   7443                                     int __reject2 )
7444 {   7444 {
7445   register size_t __result ;   7445   register size_t __result ;
7446     7446  
7447   {   7447   {
7448   __result = (size_t )0;   7448   __result = (size_t )0;
7449   while (1) {   7449   while (1) {
7450     if ((int const   )*(__s + __result) != 0) {   7450     if ((int const   )*(__s + __result) != 0) {
7451       if ((int const   )*(__s + __result) != (int const   )__reject1) {   7451       if ((int const   )*(__s + __result) != (int const   )__reject1) {
7452         if ((int const   )*(__s + __result) != (int const   )__reject2) {   7452         if ((int const   )*(__s + __result) != (int const   )__reject2) {
7453     7453  
7454         } else {   7454         } else {
7455           break;   7455           break;
7456         }   7456         }
7457       } else {   7457       } else {
7458         break;   7458         break;
7459       }   7459       }
7460     } else {   7460     } else {
7461       break;   7461       break;
7462     }   7462     }
7463     __result ++;   7463     __result ++;
7464   }   7464   }
7465   return (__result);   7465   return (__result);
7466 }   7466 }
7467 }   7467 }
7468 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   7468 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
7469                                     int __reject2 , int __reject3 ) ;   7469                                     int __reject2 , int __reject3 ) ;
7470 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   7470 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
7471                                     int __reject2 , int __reject3 )   7471                                     int __reject2 , int __reject3 )
7472 {   7472 {
7473   register size_t __result ;   7473   register size_t __result ;
7474     7474  
7475   {   7475   {
7476   __result = (size_t )0;   7476   __result = (size_t )0;
7477   while (1) {   7477   while (1) {
7478     if ((int const   )*(__s + __result) != 0) {   7478     if ((int const   )*(__s + __result) != 0) {
7479       if ((int const   )*(__s + __result) != (int const   )__reject1) {   7479       if ((int const   )*(__s + __result) != (int const   )__reject1) {
7480         if ((int const   )*(__s + __result) != (int const   )__reject2) {   7480         if ((int const   )*(__s + __result) != (int const   )__reject2) {
7481           if ((int const   )*(__s + __result) != (int const   )__reject3) {   7481           if ((int const   )*(__s + __result) != (int const   )__reject3) {
7482     7482  
7483           } else {   7483           } else {
7484             break;   7484             break;
7485           }   7485           }
7486         } else {   7486         } else {
7487           break;   7487           break;
7488         }   7488         }
7489       } else {   7489       } else {
7490         break;   7490         break;
7491       }   7491       }
7492     } else {   7492     } else {
7493       break;   7493       break;
7494     }   7494     }
7495     __result ++;   7495     __result ++;
7496   }   7496   }
7497   return (__result);   7497   return (__result);
7498 }   7498 }
7499 }   7499 }
7500 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;   7500 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
7501 __inline extern size_t __strspn_c1(char const   *__s , int __accept )   7501 __inline extern size_t __strspn_c1(char const   *__s , int __accept )
7502 {   7502 {
7503   register size_t __result ;   7503   register size_t __result ;
7504     7504  
7505   {   7505   {
7506   __result = (size_t )0;   7506   __result = (size_t )0;
7507   while ((int const   )*(__s + __result) == (int const   )__accept) {   7507   while ((int const   )*(__s + __result) == (int const   )__accept) {
7508     __result ++;   7508     __result ++;
7509   }   7509   }
7510   return (__result);   7510   return (__result);
7511 }   7511 }
7512 }   7512 }
7513 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   7513 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
7514                                    int __accept2 ) ;   7514                                    int __accept2 ) ;
7515 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   7515 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
7516                                    int __accept2 )   7516                                    int __accept2 )
7517 {   7517 {
7518   register size_t __result ;   7518   register size_t __result ;
7519     7519  
7520   {   7520   {
7521   __result = (size_t )0;   7521   __result = (size_t )0;
7522   while (1) {   7522   while (1) {
7523     if ((int const   )*(__s + __result) == (int const   )__accept1) {   7523     if ((int const   )*(__s + __result) == (int const   )__accept1) {
7524     7524  
7525     } else   7525     } else
7526     if ((int const   )*(__s + __result) == (int const   )__accept2) {   7526     if ((int const   )*(__s + __result) == (int const   )__accept2) {
7527     7527  
7528     } else {   7528     } else {
7529       break;   7529       break;
7530     }   7530     }
7531     __result ++;   7531     __result ++;
7532   }   7532   }
7533   return (__result);   7533   return (__result);
7534 }   7534 }
7535 }   7535 }
7536 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   7536 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
7537                                    int __accept2 , int __accept3 ) ;   7537                                    int __accept2 , int __accept3 ) ;
7538 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   7538 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
7539                                    int __accept2 , int __accept3 )   7539                                    int __accept2 , int __accept3 )
7540 {   7540 {
7541   register size_t __result ;   7541   register size_t __result ;
7542     7542  
7543   {   7543   {
7544   __result = (size_t )0;   7544   __result = (size_t )0;
7545   while (1) {   7545   while (1) {
7546     if ((int const   )*(__s + __result) == (int const   )__accept1) {   7546     if ((int const   )*(__s + __result) == (int const   )__accept1) {
7547     7547  
7548     } else   7548     } else
7549     if ((int const   )*(__s + __result) == (int const   )__accept2) {   7549     if ((int const   )*(__s + __result) == (int const   )__accept2) {
7550     7550  
7551     } else   7551     } else
7552     if ((int const   )*(__s + __result) == (int const   )__accept3) {   7552     if ((int const   )*(__s + __result) == (int const   )__accept3) {
7553     7553  
7554     } else {   7554     } else {
7555       break;   7555       break;
7556     }   7556     }
7557     __result ++;   7557     __result ++;
7558   }   7558   }
7559   return (__result);   7559   return (__result);
7560 }   7560 }
7561 }   7561 }
7562 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   7562 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
7563                                    int __accept2 ) ;   7563                                    int __accept2 ) ;
7564 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   7564 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
7565                                    int __accept2 )   7565                                    int __accept2 )
7566 {   7566 {
7567   char *tmp ;   7567   char *tmp ;
7568     7568  
7569   {   7569   {
7570   while (1) {   7570   while (1) {
7571     if ((int const   )*__s != 0) {   7571     if ((int const   )*__s != 0) {
7572       if ((int const   )*__s != (int const   )__accept1) {   7572       if ((int const   )*__s != (int const   )__accept1) {
7573         if ((int const   )*__s != (int const   )__accept2) {   7573         if ((int const   )*__s != (int const   )__accept2) {
7574     7574  
7575         } else {   7575         } else {
7576           break;   7576           break;
7577         }   7577         }
7578       } else {   7578       } else {
7579         break;   7579         break;
7580       }   7580       }
7581     } else {   7581     } else {
7582       break;   7582       break;
7583     }   7583     }
7584     __s ++;   7584     __s ++;
7585   }   7585   }
7586   if ((int const   )*__s == 0) {   7586   if ((int const   )*__s == 0) {
7587     tmp = (char *)((void *)0);   7587     tmp = (char *)((void *)0);
7588   } else {   7588   } else {
7589     tmp = (char *)((size_t )__s);   7589     tmp = (char *)((size_t )__s);
7590   }   7590   }
7591   return (tmp);   7591   return (tmp);
7592 }   7592 }
7593 }   7593 }
7594 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   7594 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
7595                                    int __accept2 , int __accept3 ) ;   7595                                    int __accept2 , int __accept3 ) ;
7596 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   7596 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
7597                                    int __accept2 , int __accept3 )   7597                                    int __accept2 , int __accept3 )
7598 {   7598 {
7599   char *tmp ;   7599   char *tmp ;
7600     7600  
7601   {   7601   {
7602   while (1) {   7602   while (1) {
7603     if ((int const   )*__s != 0) {   7603     if ((int const   )*__s != 0) {
7604       if ((int const   )*__s != (int const   )__accept1) {   7604       if ((int const   )*__s != (int const   )__accept1) {
7605         if ((int const   )*__s != (int const   )__accept2) {   7605         if ((int const   )*__s != (int const   )__accept2) {
7606           if ((int const   )*__s != (int const   )__accept3) {   7606           if ((int const   )*__s != (int const   )__accept3) {
7607     7607  
7608           } else {   7608           } else {
7609             break;   7609             break;
7610           }   7610           }
7611         } else {   7611         } else {
7612           break;   7612           break;
7613         }   7613         }
7614       } else {   7614       } else {
7615         break;   7615         break;
7616       }   7616       }
7617     } else {   7617     } else {
7618       break;   7618       break;
7619     }   7619     }
7620     __s ++;   7620     __s ++;
7621   }   7621   }
7622   if ((int const   )*__s == 0) {   7622   if ((int const   )*__s == 0) {
7623     tmp = (char *)((void *)0);   7623     tmp = (char *)((void *)0);
7624   } else {   7624   } else {
7625     tmp = (char *)((size_t )__s);   7625     tmp = (char *)((size_t )__s);
7626   }   7626   }
7627   return (tmp);   7627   return (tmp);
7628 }   7628 }
7629 }   7629 }
7630 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;   7630 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
7631 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )   7631 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )
7632 {   7632 {
7633   char *__result ;   7633   char *__result ;
7634   char *tmp ;   7634   char *tmp ;
7635   char *tmp___0 ;   7635   char *tmp___0 ;
7636     7636  
7637   {   7637   {
7638   if ((unsigned int )__s == (unsigned int )((void *)0)) {   7638   if ((unsigned int )__s == (unsigned int )((void *)0)) {
7639     __s = *__nextp;   7639     __s = *__nextp;
7640   } else {   7640   } else {
7641     7641  
7642   }   7642   }
7643   while ((int )*__s == (int )__sep) {   7643   while ((int )*__s == (int )__sep) {
7644     __s ++;   7644     __s ++;
7645   }   7645   }
7646   __result = (char *)((void *)0);   7646   __result = (char *)((void *)0);
7647   if ((int )*__s != 0) {   7647   if ((int )*__s != 0) {
7648     tmp = __s;   7648     tmp = __s;
7649     __s ++;   7649     __s ++;
7650     __result = tmp;   7650     __result = tmp;
7651     while ((int )*__s != 0) {   7651     while ((int )*__s != 0) {
7652       tmp___0 = __s;   7652       tmp___0 = __s;
7653       __s ++;   7653       __s ++;
7654       if ((int )*tmp___0 == (int )__sep) {   7654       if ((int )*tmp___0 == (int )__sep) {
7655         *(__s + -1) = (char )'\000';   7655         *(__s + -1) = (char )'\000';
7656         break;   7656         break;
7657       } else {   7657       } else {
7658     7658  
7659       }   7659       }
7660     }   7660     }
7661   } else {   7661   } else {
7662     7662  
7663   }   7663   }
7664   *__nextp = __s;   7664   *__nextp = __s;
7665   return (__result);   7665   return (__result);
7666 }   7666 }
7667 }   7667 }
7668 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   7668 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
7669 __inline extern char *__strsep_1c(char **__s , char __reject ) ;   7669 __inline extern char *__strsep_1c(char **__s , char __reject ) ;
7670 __inline extern char *__strsep_1c(char **__s , char __reject )   7670 __inline extern char *__strsep_1c(char **__s , char __reject )
7671 {   7671 {
7672   register char *__retval ;   7672   register char *__retval ;
7673   char *tmp ;   7673   char *tmp ;
7674   char *tmp___0 ;   7674   char *tmp___0 ;
7675   void *tmp___1 ;   7675   void *tmp___1 ;
7676   char *tmp___2 ;   7676   char *tmp___2 ;
7677     7677  
7678   {   7678   {
7679   __retval = *__s;   7679   __retval = *__s;
7680   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7680   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7681     tmp___2 = __builtin_strchr(__retval, (int )__reject);   7681     tmp___2 = __builtin_strchr(__retval, (int )__reject);
7682     tmp___0 = tmp___2;   7682     tmp___0 = tmp___2;
7683     *__s = tmp___0;   7683     *__s = tmp___0;
7684     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   7684     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
7685       tmp = *__s;   7685       tmp = *__s;
7686       (*__s) ++;   7686       (*__s) ++;
7687       *tmp = (char )'\000';   7687       *tmp = (char )'\000';
7688     } else {   7688     } else {
7689     7689  
7690     }   7690     }
7691   } else {   7691   } else {
7692     7692  
7693   }   7693   }
7694   return (__retval);   7694   return (__retval);
7695 }   7695 }
7696 }   7696 }
7697 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;   7697 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
7698 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )   7698 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )
7699 {   7699 {
7700   register char *__retval ;   7700   register char *__retval ;
7701   register char *__cp ;   7701   register char *__cp ;
7702   char *tmp ;   7702   char *tmp ;
7703     7703  
7704   {   7704   {
7705   __retval = *__s;   7705   __retval = *__s;
7706   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7706   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7707     __cp = __retval;   7707     __cp = __retval;
7708     while (1) {   7708     while (1) {
7709       if ((int )*__cp == 0) {   7709       if ((int )*__cp == 0) {
7710         __cp = (char *)((void *)0);   7710         __cp = (char *)((void *)0);
7711         break;   7711         break;
7712       } else {   7712       } else {
7713     7713  
7714       }   7714       }
7715       if ((int )*__cp == (int )__reject1) {   7715       if ((int )*__cp == (int )__reject1) {
7716         tmp = __cp;   7716         tmp = __cp;
7717         __cp ++;   7717         __cp ++;
7718         *tmp = (char )'\000';   7718         *tmp = (char )'\000';
7719         break;   7719         break;
7720       } else   7720       } else
7721       if ((int )*__cp == (int )__reject2) {   7721       if ((int )*__cp == (int )__reject2) {
7722         tmp = __cp;   7722         tmp = __cp;
7723         __cp ++;   7723         __cp ++;
7724         *tmp = (char )'\000';   7724         *tmp = (char )'\000';
7725         break;   7725         break;
7726       } else {   7726       } else {
7727     7727  
7728       }   7728       }
7729       __cp ++;   7729       __cp ++;
7730     }   7730     }
7731     *__s = __cp;   7731     *__s = __cp;
7732   } else {   7732   } else {
7733     7733  
7734   }   7734   }
7735   return (__retval);   7735   return (__retval);
7736 }   7736 }
7737 }   7737 }
7738 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   7738 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
7739                                   char __reject3 ) ;   7739                                   char __reject3 ) ;
7740 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   7740 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
7741                                   char __reject3 )   7741                                   char __reject3 )
7742 {   7742 {
7743   register char *__retval ;   7743   register char *__retval ;
7744   register char *__cp ;   7744   register char *__cp ;
7745   char *tmp ;   7745   char *tmp ;
7746     7746  
7747   {   7747   {
7748   __retval = *__s;   7748   __retval = *__s;
7749   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7749   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7750     __cp = __retval;   7750     __cp = __retval;
7751     while (1) {   7751     while (1) {
7752       if ((int )*__cp == 0) {   7752       if ((int )*__cp == 0) {
7753         __cp = (char *)((void *)0);   7753         __cp = (char *)((void *)0);
7754         break;   7754         break;
7755       } else {   7755       } else {
7756     7756  
7757       }   7757       }
7758       if ((int )*__cp == (int )__reject1) {   7758       if ((int )*__cp == (int )__reject1) {
7759         tmp = __cp;   7759         tmp = __cp;
7760         __cp ++;   7760         __cp ++;
7761         *tmp = (char )'\000';   7761         *tmp = (char )'\000';
7762         break;   7762         break;
7763       } else   7763       } else
7764       if ((int )*__cp == (int )__reject2) {   7764       if ((int )*__cp == (int )__reject2) {
7765         tmp = __cp;   7765         tmp = __cp;
7766         __cp ++;   7766         __cp ++;
7767         *tmp = (char )'\000';   7767         *tmp = (char )'\000';
7768         break;   7768         break;
7769       } else   7769       } else
7770       if ((int )*__cp == (int )__reject3) {   7770       if ((int )*__cp == (int )__reject3) {
7771         tmp = __cp;   7771         tmp = __cp;
7772         __cp ++;   7772         __cp ++;
7773         *tmp = (char )'\000';   7773         *tmp = (char )'\000';
7774         break;   7774         break;
7775       } else {   7775       } else {
7776     7776  
7777       }   7777       }
7778       __cp ++;   7778       __cp ++;
7779     }   7779     }
7780     *__s = __cp;   7780     *__s = __cp;
7781   } else {   7781   } else {
7782     7782  
7783   }   7783   }
7784   return (__retval);   7784   return (__retval);
7785 }   7785 }
7786 }   7786 }
7787 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   7787 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
7788 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   7788 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
7789                                                      size_t __n )  __attribute__((__malloc__)) ;   7789                                                      size_t __n )  __attribute__((__malloc__)) ;
7790 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;   7790 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;
7791 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;   7791 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;
7792 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;   7792 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;
7793 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;   7793 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;
7794 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;   7794 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;
7795 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;   7795 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;
7796 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;   7796 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;
7797 extern  __attribute__((__nothrow__)) int islower(int  ) ;   7797 extern  __attribute__((__nothrow__)) int islower(int  ) ;
7798 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;   7798 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;
7799 extern  __attribute__((__nothrow__)) int isprint(int  ) ;   7799 extern  __attribute__((__nothrow__)) int isprint(int  ) ;
7800 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;   7800 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;
7801 extern  __attribute__((__nothrow__)) int isspace(int  ) ;   7801 extern  __attribute__((__nothrow__)) int isspace(int  ) ;
7802 extern  __attribute__((__nothrow__)) int isupper(int  ) ;   7802 extern  __attribute__((__nothrow__)) int isupper(int  ) ;
7803 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;   7803 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;
7804 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;   7804 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
7805 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;   7805 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
7806 extern  __attribute__((__nothrow__)) int isblank(int  ) ;   7806 extern  __attribute__((__nothrow__)) int isblank(int  ) ;
7807 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;   7807 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;
7808 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;   7808 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;
7809 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;   7809 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;
7810 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;   7810 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;
7811 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;   7811 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
7812 __inline extern int tolower(int __c )   7812 __inline extern int tolower(int __c )
7813 {   7813 {
7814   __int32_t const   **tmp ;   7814   __int32_t const   **tmp ;
7815   __int32_t tmp___0 ;   7815   __int32_t tmp___0 ;
7816     7816  
7817   {   7817   {
7818   if (__c >= -128) {   7818   if (__c >= -128) {
7819     if (__c < 256) {   7819     if (__c < 256) {
7820       tmp = __ctype_tolower_loc();   7820       tmp = __ctype_tolower_loc();
7821       tmp___0 = *(*tmp + __c);   7821       tmp___0 = *(*tmp + __c);
7822     } else {   7822     } else {
7823       tmp___0 = (__int32_t const   )__c;   7823       tmp___0 = (__int32_t const   )__c;
7824     }   7824     }
7825   } else {   7825   } else {
7826     tmp___0 = (__int32_t const   )__c;   7826     tmp___0 = (__int32_t const   )__c;
7827   }   7827   }
7828   return ((int )tmp___0);   7828   return ((int )tmp___0);
7829 }   7829 }
7830 }   7830 }
7831 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;   7831 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
7832 __inline extern int toupper(int __c )   7832 __inline extern int toupper(int __c )
7833 {   7833 {
7834   __int32_t const   **tmp ;   7834   __int32_t const   **tmp ;
7835   __int32_t tmp___0 ;   7835   __int32_t tmp___0 ;
7836     7836  
7837   {   7837   {
7838   if (__c >= -128) {   7838   if (__c >= -128) {
7839     if (__c < 256) {   7839     if (__c < 256) {
7840       tmp = __ctype_toupper_loc();   7840       tmp = __ctype_toupper_loc();
7841       tmp___0 = *(*tmp + __c);   7841       tmp___0 = *(*tmp + __c);
7842     } else {   7842     } else {
7843       tmp___0 = (__int32_t const   )__c;   7843       tmp___0 = (__int32_t const   )__c;
7844     }   7844     }
7845   } else {   7845   } else {
7846     tmp___0 = (__int32_t const   )__c;   7846     tmp___0 = (__int32_t const   )__c;
7847   }   7847   }
7848   return ((int )tmp___0);   7848   return ((int )tmp___0);
7849 }   7849 }
7850 }   7850 }
7851 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;   7851 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;
7852 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;   7852 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;
7853 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;   7853 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;
7854 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;   7854 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;
7855 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;   7855 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;
7856 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;   7856 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;
7857 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;   7857 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;
7858 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;   7858 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;
7859 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;   7859 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;
7860 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;   7860 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;
7861 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;   7861 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;
7862 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;   7862 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;
7863 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;   7863 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;
7864 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;   7864 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;
7865 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;   7865 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;
7866 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;   7866 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;
7867 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7867 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7868                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   7868                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
7869 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7869 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7870                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;   7870                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;
7871 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7871 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7872                                                                                                char const   * __restrict  __filename ,   7872                                                                                                char const   * __restrict  __filename ,
7873                                                                                                struct stat * __restrict  __statbuf ,   7873                                                                                                struct stat * __restrict  __statbuf ,
7874                                                                                                int __flag )  __asm__("fstatat64")  ;   7874                                                                                                int __flag )  __asm__("fstatat64")  ;
7875 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7875 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7876                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   7876                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
7877 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,   7877 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,
7878                                                                                   __mode_t __mode ) ;   7878                                                                                   __mode_t __mode ) ;
7879 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,   7879 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,
7880                                                                                    __mode_t __mode ) ;   7880                                                                                    __mode_t __mode ) ;
7881 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;   7881 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;
7882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,   7882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,
7883                                                                                      char const   *__file ,   7883                                                                                      char const   *__file ,
7884                                                                                      __mode_t __mode ,   7884                                                                                      __mode_t __mode ,
7885                                                                                      int __flag ) ;   7885                                                                                      int __flag ) ;
7886 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;   7886 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;
7887 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,   7887 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,
7888                                                                                   __mode_t __mode ) ;   7888                                                                                   __mode_t __mode ) ;
7889 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,   7889 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,
7890                                                                                     char const   *__path ,   7890                                                                                     char const   *__path ,
7891                                                                                     __mode_t __mode ) ;   7891                                                                                     __mode_t __mode ) ;
7892 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7892 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7893                                                                                            __mode_t __mode ,   7893                                                                                            __mode_t __mode ,
7894                                                                                            __dev_t __dev ) ;   7894                                                                                            __dev_t __dev ) ;
7895 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   7895 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
7896                                                                                              char const   *__path ,   7896                                                                                              char const   *__path ,
7897                                                                                              __mode_t __mode ,   7897                                                                                              __mode_t __mode ,
7898                                                                                              __dev_t __dev ) ;   7898                                                                                              __dev_t __dev ) ;
7899 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,   7899 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,
7900                                                                                    __mode_t __mode ) ;   7900                                                                                    __mode_t __mode ) ;
7901 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,   7901 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,
7902                                                                                      char const   *__path ,   7902                                                                                      char const   *__path ,
7903                                                                                      __mode_t __mode ) ;   7903                                                                                      __mode_t __mode ) ;
7904 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,   7904 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,
7905                                                                                       char const   *__path ,   7905                                                                                       char const   *__path ,
7906                                                                                       struct timespec  const  *__times ,   7906                                                                                       struct timespec  const  *__times ,
7907                                                                                       int __flags ) ;   7907                                                                                       int __flags ) ;
7908 extern  __attribute__((__nothrow__)) int futimens(int __fd ,   7908 extern  __attribute__((__nothrow__)) int futimens(int __fd ,
7909                                                   struct timespec  const  *__times ) ;   7909                                                   struct timespec  const  *__times ) ;
7910 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,   7910 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,
7911                                                                                      int __fildes ,   7911                                                                                      int __fildes ,
7912                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;   7912                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;
7913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,   7913 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,
7914                                                                                       char const   *__filename ,   7914                                                                                       char const   *__filename ,
7915                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;   7915                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;
7916 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,   7916 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,
7917                                                                                        char const   *__filename ,   7917                                                                                        char const   *__filename ,
7918                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;   7918                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;
7919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,   7919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,
7920                                                                                          int __fildes ,   7920                                                                                          int __fildes ,
7921                                                                                          char const   *__filename ,   7921                                                                                          char const   *__filename ,
7922                                                                                          struct stat *__stat_buf ,   7922                                                                                          struct stat *__stat_buf ,
7923                                                                                          int __flag )  __asm__("__fxstatat64")  ;   7923                                                                                          int __flag )  __asm__("__fxstatat64")  ;
7924 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,   7924 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,
7925                                                                                        char const   *__path ,   7925                                                                                        char const   *__path ,
7926                                                                                        __mode_t __mode ,   7926                                                                                        __mode_t __mode ,
7927                                                                                        __dev_t *__dev ) ;   7927                                                                                        __dev_t *__dev ) ;
7928 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,   7928 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,
7929                                                                                          int __fd ,   7929                                                                                          int __fd ,
7930                                                                                          char const   *__path ,   7930                                                                                          char const   *__path ,
7931                                                                                          __mode_t __mode ,   7931                                                                                          __mode_t __mode ,
7932                                                                                          __dev_t *__dev ) ;   7932                                                                                          __dev_t *__dev ) ;
7933 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7933 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7934                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   7934                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
7935 __inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7935 __inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7936                                                               struct stat * __restrict  __statbuf )   7936                                                               struct stat * __restrict  __statbuf )
7937 {   7937 {
7938   int tmp ;   7938   int tmp ;
7939     7939  
7940   {   7940   {
7941   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);   7941   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);
7942   return (tmp);   7942   return (tmp);
7943 }   7943 }
7944 }   7944 }
7945 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7945 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7946                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   7946                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
7947 __inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7947 __inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7948                                                                struct stat * __restrict  __statbuf )   7948                                                                struct stat * __restrict  __statbuf )
7949 {   7949 {
7950   int tmp ;   7950   int tmp ;
7951     7951  
7952   {   7952   {
7953   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);   7953   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);
7954   return (tmp);   7954   return (tmp);
7955 }   7955 }
7956 }   7956 }
7957 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7957 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7958                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;   7958                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;
7959 __inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7959 __inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7960                                                              struct stat *__statbuf )   7960                                                              struct stat *__statbuf )
7961 {   7961 {
7962   int tmp ;   7962   int tmp ;
7963     7963  
7964   {   7964   {
7965   tmp = __fxstat(3, __fd, __statbuf);   7965   tmp = __fxstat(3, __fd, __statbuf);
7966   return (tmp);   7966   return (tmp);
7967 }   7967 }
7968 }   7968 }
7969 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7969 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7970                                                                                                char const   * __restrict  __filename ,   7970                                                                                                char const   * __restrict  __filename ,
7971                                                                                                struct stat * __restrict  __statbuf ,   7971                                                                                                struct stat * __restrict  __statbuf ,
7972                                                                                                int __flag )  __asm__("fstatat64")  ;   7972                                                                                                int __flag )  __asm__("fstatat64")  ;
7973 __inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7973 __inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7974                                                                  char const   * __restrict  __filename ,   7974                                                                  char const   * __restrict  __filename ,
7975                                                                  struct stat * __restrict  __statbuf ,   7975                                                                  struct stat * __restrict  __statbuf ,
7976                                                                  int __flag )   7976                                                                  int __flag )
7977 {   7977 {
7978   int tmp ;   7978   int tmp ;
7979     7979  
7980   {   7980   {
7981   tmp = __fxstatat(3, __fd, (char const   *)__filename,   7981   tmp = __fxstatat(3, __fd, (char const   *)__filename,
7982                    (struct stat *)__statbuf, __flag);   7982                    (struct stat *)__statbuf, __flag);
7983   return (tmp);   7983   return (tmp);
7984 }   7984 }
7985 }   7985 }
7986 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7986 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7987                                                                                            __mode_t __mode ,   7987                                                                                            __mode_t __mode ,
7988                                                                                            __dev_t __dev ) ;   7988                                                                                            __dev_t __dev ) ;
7989 __inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7989 __inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7990                                                              __mode_t __mode ,   7990                                                              __mode_t __mode ,
7991                                                              __dev_t __dev )   7991                                                              __dev_t __dev )
7992 {   7992 {
7993   int tmp ;   7993   int tmp ;
7994     7994  
7995   {   7995   {
7996   tmp = __xmknod(1, __path, __mode, & __dev);   7996   tmp = __xmknod(1, __path, __mode, & __dev);
7997   return (tmp);   7997   return (tmp);
7998 }   7998 }
7999 }   7999 }
8000 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   8000 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
8001                                                                                              char const   *__path ,   8001                                                                                              char const   *__path ,
8002                                                                                              __mode_t __mode ,   8002                                                                                              __mode_t __mode ,
8003                                                                                              __dev_t __dev ) ;   8003                                                                                              __dev_t __dev ) ;
8004 __inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   8004 __inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
8005                                                                char const   *__path ,   8005                                                                char const   *__path ,
8006                                                                __mode_t __mode ,   8006                                                                __mode_t __mode ,
8007                                                                __dev_t __dev )   8007                                                                __dev_t __dev )
8008 {   8008 {
8009   int tmp ;   8009   int tmp ;
8010     8010  
8011   {   8011   {
8012   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);   8012   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);
8013   return (tmp);   8013   return (tmp);
8014 }   8014 }
8015 }   8015 }
8016 extern int fcntl(int __fd , int __cmd  , ...) ;   8016 extern int fcntl(int __fd , int __cmd  , ...) ;
8017 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   8017 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
8018                                                    int __oflag  , ...)  __asm__("open64")  ;   8018                                                    int __oflag  , ...)  __asm__("open64")  ;
8019 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   8019 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
8020                                                      char const   *__file ,   8020                                                      char const   *__file ,
8021                                                      int __oflag  , ...)  __asm__("openat64")  ;   8021                                                      int __oflag  , ...)  __asm__("openat64")  ;
8022 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   8022 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
8023                                                     __mode_t __mode )  __asm__("creat64")  ;   8023                                                     __mode_t __mode )  __asm__("creat64")  ;
8024 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   8024 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
8025 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   8025 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
8026                                                        __off64_t __offset ,   8026                                                        __off64_t __offset ,
8027                                                        __off64_t __len ,   8027                                                        __off64_t __len ,
8028                                                        int __advise )  __asm__("posix_fadvise64")  ;   8028                                                        int __advise )  __asm__("posix_fadvise64")  ;
8029 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   8029 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
8030 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,   8030 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,
8031                                                                                    int __type ) ;   8031                                                                                    int __type ) ;
8032 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,   8032 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,
8033                                                                                       char const   *__file ,   8033                                                                                       char const   *__file ,
8034                                                                                       int __type ,   8034                                                                                       int __type ,
8035                                                                                       int __flag ) ;   8035                                                                                       int __flag ) ;
8036 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,   8036 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,
8037                                                      __off64_t __offset ,   8037                                                      __off64_t __offset ,
8038                                                      int __whence )  __asm__("lseek64")  ;   8038                                                      int __whence )  __asm__("lseek64")  ;
8039 extern int close(int __fd ) ;   8039 extern int close(int __fd ) ;
8040 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;   8040 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;
8041 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;   8041 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;
8042 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,   8042 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,
8043                      __off64_t __offset )  __asm__("pread64")  ;   8043                      __off64_t __offset )  __asm__("pread64")  ;
8044 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,   8044 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,
8045                       __off64_t __offset )  __asm__("pwrite64")  ;   8045                       __off64_t __offset )  __asm__("pwrite64")  ;
8046 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;   8046 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;
8047 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;   8047 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;
8048 extern unsigned int sleep(unsigned int __seconds ) ;   8048 extern unsigned int sleep(unsigned int __seconds ) ;
8049 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,   8049 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,
8050                                                          __useconds_t __interval ) ;   8050                                                          __useconds_t __interval ) ;
8051 extern int usleep(__useconds_t __useconds ) ;   8051 extern int usleep(__useconds_t __useconds ) ;
8052 extern int pause(void) ;   8052 extern int pause(void) ;
8053 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,   8053 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,
8054                                                                                   __uid_t __owner ,   8054                                                                                   __uid_t __owner ,
8055                                                                                   __gid_t __group ) ;   8055                                                                                   __gid_t __group ) ;
8056 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,   8056 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,
8057                                                 __gid_t __group ) ;   8057                                                 __gid_t __group ) ;
8058 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,   8058 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,
8059                                                                                    __uid_t __owner ,   8059                                                                                    __uid_t __owner ,
8060                                                                                    __gid_t __group ) ;   8060                                                                                    __gid_t __group ) ;
8061 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,   8061 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,
8062                                                                                      char const   *__file ,   8062                                                                                      char const   *__file ,
8063                                                                                      __uid_t __owner ,   8063                                                                                      __uid_t __owner ,
8064                                                                                      __gid_t __group ,   8064                                                                                      __gid_t __group ,
8065                                                                                      int __flag ) ;   8065                                                                                      int __flag ) ;
8066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;   8066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;
8067 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;   8067 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;
8068 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;   8068 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;
8069 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;   8069 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;
8070 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;   8070 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;
8071 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;   8071 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;
8072 extern char **__environ ;   8072 extern char **__environ ;
8073 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,   8073 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,
8074                                                                                      char * const  *__argv ,   8074                                                                                      char * const  *__argv ,
8075                                                                                      char * const  *__envp ) ;   8075                                                                                      char * const  *__envp ) ;
8076 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,   8076 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,
8077                                                                                     char * const  *__argv ,   8077                                                                                     char * const  *__argv ,
8078                                                                                     char * const  *__envp ) ;   8078                                                                                     char * const  *__envp ) ;
8079 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,   8079 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,
8080                                                                                     char * const  *__argv ) ;   8080                                                                                     char * const  *__argv ) ;
8081 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,   8081 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,
8082                                                                                      char const   *__arg   8082                                                                                      char const   *__arg
8083                                                                                      , ...) ;   8083                                                                                      , ...) ;
8084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,   8084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,
8085                                                                                     char const   *__arg   8085                                                                                     char const   *__arg
8086                                                                                     , ...) ;   8086                                                                                     , ...) ;
8087 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,   8087 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,
8088                                                                                      char * const  *__argv ) ;   8088                                                                                      char * const  *__argv ) ;
8089 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,   8089 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,
8090                                                                                      char const   *__arg   8090                                                                                      char const   *__arg
8091                                                                                      , ...) ;   8091                                                                                      , ...) ;
8092 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;   8092 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;
8093 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;   8093 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;
8094 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,   8094 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,
8095                                                                                       int __name ) ;   8095                                                                                       int __name ) ;
8096 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;   8096 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;
8097 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;   8097 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;
8098 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,   8098 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,
8099                                                     size_t __len ) ;   8099                                                     size_t __len ) ;
8100 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;   8100 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;
8101 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;   8101 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;
8102 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;   8102 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;
8103 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;   8103 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;
8104 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;   8104 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;
8105 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;   8105 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;
8106 extern  __attribute__((__nothrow__)) int setpgrp(void) ;   8106 extern  __attribute__((__nothrow__)) int setpgrp(void) ;
8107 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;   8107 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;
8108 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;   8108 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;
8109 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;   8109 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;
8110 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;   8110 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;
8111 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;   8111 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;
8112 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;   8112 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;
8113 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;   8113 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;
8114 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;   8114 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;
8115 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,   8115 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,
8116                                                   __uid_t __euid ) ;   8116                                                   __uid_t __euid ) ;
8117 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;   8117 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;
8118 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;   8118 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;
8119 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,   8119 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,
8120                                                   __gid_t __egid ) ;   8120                                                   __gid_t __egid ) ;
8121 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;   8121 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;
8122 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;   8122 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;
8123 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;   8123 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;
8124 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;   8124 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;
8125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,   8125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,
8126                                                                                       char *__buf ,   8126                                                                                       char *__buf ,
8127                                                                                       size_t __buflen ) ;   8127                                                                                       size_t __buflen ) ;
8128 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;   8128 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;
8129 extern  __attribute__((__nothrow__)) int ttyslot(void) ;   8129 extern  __attribute__((__nothrow__)) int ttyslot(void) ;
8130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,   8130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,
8131                                                                                    char const   *__to ) ;   8131                                                                                    char const   *__to ) ;
8132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,   8132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,
8133                                                                                      char const   *__from ,   8133                                                                                      char const   *__from ,
8134                                                                                      int __tofd ,   8134                                                                                      int __tofd ,
8135                                                                                      char const   *__to ,   8135                                                                                      char const   *__to ,
8136                                                                                      int __flags ) ;   8136                                                                                      int __flags ) ;
8137 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,   8137 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,
8138                                                                                       char const   *__to ) ;   8138                                                                                       char const   *__to ) ;
8139 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,   8139 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,
8140                                                                                            char * __restrict  __buf ,   8140                                                                                            char * __restrict  __buf ,
8141                                                                                            size_t __len ) ;   8141                                                                                            size_t __len ) ;
8142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,   8142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,
8143                                                                                         int __tofd ,   8143                                                                                         int __tofd ,
8144                                                                                         char const   *__to ) ;   8144                                                                                         char const   *__to ) ;
8145 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,   8145 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,
8146                                                                                              char const   * __restrict  __path ,   8146                                                                                              char const   * __restrict  __path ,
8147                                                                                              char * __restrict  __buf ,   8147                                                                                              char * __restrict  __buf ,
8148                                                                                              size_t __len ) ;   8148                                                                                              size_t __len ) ;
8149 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;   8149 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;
8150 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,   8150 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,
8151                                                                                      char const   *__name ,   8151                                                                                      char const   *__name ,
8152                                                                                      int __flag ) ;   8152                                                                                      int __flag ) ;
8153 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;   8153 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;
8154 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;   8154 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;
8155 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;   8155 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;
8156 extern char *getlogin(void) ;   8156 extern char *getlogin(void) ;
8157 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,   8157 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,
8158                                                          size_t __name_len ) ;   8158                                                          size_t __name_len ) ;
8159 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;   8159 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;
8160 extern char *optarg ;   8160 extern char *optarg ;
8161 extern int optind ;   8161 extern int optind ;
8162 extern int opterr ;   8162 extern int opterr ;
8163 extern int optopt ;   8163 extern int optopt ;
8164 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,   8164 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,
8165                                                 char * const  *___argv ,   8165                                                 char * const  *___argv ,
8166                                                 char const   *__shortopts ) ;   8166                                                 char const   *__shortopts ) ;
8167 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,   8167 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,
8168                                                                                         size_t __len ) ;   8168                                                                                         size_t __len ) ;
8169 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,   8169 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,
8170                                                                                         size_t __len ) ;   8170                                                                                         size_t __len ) ;
8171 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;   8171 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;
8172 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,   8172 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,
8173                                                                                           size_t __len ) ;   8173                                                                                           size_t __len ) ;
8174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,   8174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,
8175                                                                                           size_t __len ) ;   8175                                                                                           size_t __len ) ;
8176 extern  __attribute__((__nothrow__)) int vhangup(void) ;   8176 extern  __attribute__((__nothrow__)) int vhangup(void) ;
8177 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;   8177 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;
8178 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,   8178 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,
8179                                                                                    size_t __size ,   8179                                                                                    size_t __size ,
8180                                                                                    size_t __offset ,   8180                                                                                    size_t __offset ,
8181                                                                                    unsigned int __scale ) ;   8181                                                                                    unsigned int __scale ) ;
8182 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;   8182 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;
8183 extern  __attribute__((__nothrow__)) char *getusershell(void) ;   8183 extern  __attribute__((__nothrow__)) char *getusershell(void) ;
8184 extern  __attribute__((__nothrow__)) void endusershell(void) ;   8184 extern  __attribute__((__nothrow__)) void endusershell(void) ;
8185 extern  __attribute__((__nothrow__)) void setusershell(void) ;   8185 extern  __attribute__((__nothrow__)) void setusershell(void) ;
8186 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;   8186 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;
8187 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;   8187 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;
8188 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;   8188 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;
8189 extern int fsync(int __fd ) ;   8189 extern int fsync(int __fd ) ;
8190 extern long gethostid(void) ;   8190 extern long gethostid(void) ;
8191 extern  __attribute__((__nothrow__)) void sync(void) ;   8191 extern  __attribute__((__nothrow__)) void sync(void) ;
8192 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;   8192 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;
8193 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;   8193 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;
8194 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,   8194 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,
8195                                                                                      __off64_t __length )  __asm__("truncate64")  ;   8195                                                                                      __off64_t __length )  __asm__("truncate64")  ;
8196 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,   8196 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,
8197                                                    __off64_t __length )  __asm__("ftruncate64")  ;   8197                                                    __off64_t __length )  __asm__("ftruncate64")  ;
8198 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;   8198 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;
8199 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;   8199 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;
8200 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;   8200 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;
8201 extern int fdatasync(int __fildes ) ;   8201 extern int fdatasync(int __fildes ) ;
8202 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;   8202 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;
8203 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;   8203 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;
8204 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,   8204 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,
8205                       __off64_t __offset )  __asm__("preadv64")  ;   8205                       __off64_t __offset )  __asm__("preadv64")  ;
8206 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,   8206 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,
8207                        __off64_t __offset )  __asm__("pwritev64")  ;   8207                        __off64_t __offset )  __asm__("pwritev64")  ;
8208 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8208 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8209                                                                             struct cmsghdr *__cmsg ) ;   8209                                                                             struct cmsghdr *__cmsg ) ;
8210 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8210 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8211                                                                             struct cmsghdr *__cmsg ) ;   8211                                                                             struct cmsghdr *__cmsg ) ;
8212 __inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8212 __inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8213                                               struct cmsghdr *__cmsg )   8213                                               struct cmsghdr *__cmsg )
8214 {   8214 {
8215     8215  
8216     8216  
8217   {   8217   {
8218   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {   8218   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {
8219     return ((struct cmsghdr *)0);   8219     return ((struct cmsghdr *)0);
8220   } else {   8220   } else {
8221     8221  
8222   }   8222   }
8223   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));   8223   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));
8224   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   8224   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
8225     return ((struct cmsghdr *)0);   8225     return ((struct cmsghdr *)0);
8226   } else   8226   } else
8227   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   8227   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
8228     return ((struct cmsghdr *)0);   8228     return ((struct cmsghdr *)0);
8229   } else {   8229   } else {
8230     8230  
8231   }   8231   }
8232   return (__cmsg);   8232   return (__cmsg);
8233 }   8233 }
8234 }   8234 }
8235 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,   8235 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,
8236                     unsigned int __vlen , int __flags ,   8236                     unsigned int __vlen , int __flags ,
8237                     struct timespec  const  *__tmo ) ;   8237                     struct timespec  const  *__tmo ) ;
8238 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,   8238 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,
8239                                                 int __protocol ) ;   8239                                                 int __protocol ) ;
8240 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,   8240 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,
8241                                                     int __protocol , int *__fds ) ;   8241                                                     int __protocol , int *__fds ) ;
8242 extern  __attribute__((__nothrow__)) int bind(int __fd ,   8242 extern  __attribute__((__nothrow__)) int bind(int __fd ,
8243                                               struct sockaddr  const  *__addr ,   8243                                               struct sockaddr  const  *__addr ,
8244                                               socklen_t __len ) ;   8244                                               socklen_t __len ) ;
8245 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,   8245 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,
8246                                                      struct sockaddr * __restrict  __addr ,   8246                                                      struct sockaddr * __restrict  __addr ,
8247                                                      socklen_t * __restrict  __len ) ;   8247                                                      socklen_t * __restrict  __len ) ;
8248 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;   8248 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;
8249 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,   8249 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,
8250                                                      struct sockaddr * __restrict  __addr ,   8250                                                      struct sockaddr * __restrict  __addr ,
8251                                                      socklen_t * __restrict  __len ) ;   8251                                                      socklen_t * __restrict  __len ) ;
8252 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;   8252 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;
8253 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;   8253 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;
8254 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,   8254 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,
8255                       int __flags , struct sockaddr  const  *__addr ,   8255                       int __flags , struct sockaddr  const  *__addr ,
8256                       socklen_t __addr_len ) ;   8256                       socklen_t __addr_len ) ;
8257 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,   8257 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,
8258                         int __flags , struct sockaddr * __restrict  __addr ,   8258                         int __flags , struct sockaddr * __restrict  __addr ,
8259                         socklen_t * __restrict  __addr_len ) ;   8259                         socklen_t * __restrict  __addr_len ) ;
8260 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,   8260 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,
8261                        int __flags ) ;   8261                        int __flags ) ;
8262 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;   8262 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;
8263 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,   8263 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,
8264                                                     int __optname ,   8264                                                     int __optname ,
8265                                                     void * __restrict  __optval ,   8265                                                     void * __restrict  __optval ,
8266                                                     socklen_t * __restrict  __optlen ) ;   8266                                                     socklen_t * __restrict  __optlen ) ;
8267 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,   8267 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,
8268                                                     int __optname ,   8268                                                     int __optname ,
8269                                                     void const   *__optval ,   8269                                                     void const   *__optval ,
8270                                                     socklen_t __optlen ) ;   8270                                                     socklen_t __optlen ) ;
8271 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;   8271 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;
8272 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,   8272 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,
8273                   socklen_t * __restrict  __addr_len ) ;   8273                   socklen_t * __restrict  __addr_len ) ;
8274 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;   8274 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;
8275 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;   8275 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;
8276 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;   8276 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;
8277 extern struct in6_addr  const  in6addr_any ;   8277 extern struct in6_addr  const  in6addr_any ;
8278 extern struct in6_addr  const  in6addr_loopback ;   8278 extern struct in6_addr  const  in6addr_loopback ;
8279 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;   8279 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;
8280 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;   8280 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;
8281 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;   8281 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;
8282 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;   8282 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;
8283 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,   8283 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,
8284                                                       struct sockaddr_in *__sock_in ) ;   8284                                                       struct sockaddr_in *__sock_in ) ;
8285 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,   8285 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,
8286                                                        struct sockaddr_in6 *__sock_in ) ;   8286                                                        struct sockaddr_in6 *__sock_in ) ;
8287 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;   8287 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;
8288 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;   8288 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;
8289 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,   8289 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,
8290                                                                   in_addr_t __host ) ;   8290                                                                   in_addr_t __host ) ;
8291 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;   8291 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;
8292 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;   8292 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;
8293 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;   8293 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;
8294 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,   8294 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,
8295                                                    char const   * __restrict  __cp ,   8295                                                    char const   * __restrict  __cp ,
8296                                                    void * __restrict  __buf ) ;   8296                                                    void * __restrict  __buf ) ;
8297 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,   8297 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,
8298                                                              void const   * __restrict  __cp ,   8298                                                              void const   * __restrict  __cp ,
8299                                                              char * __restrict  __buf ,   8299                                                              char * __restrict  __buf ,
8300                                                              socklen_t __len ) ;   8300                                                              socklen_t __len ) ;
8301 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,   8301 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,
8302                                                    struct in_addr *__inp ) ;   8302                                                    struct in_addr *__inp ) ;
8303 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,   8303 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,
8304                                                      char *__buf , size_t __len ) ;   8304                                                      char *__buf , size_t __len ) ;
8305 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,   8305 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,
8306                                                          void const   *__cp ,   8306                                                          void const   *__cp ,
8307                                                          int __bits ,   8307                                                          int __bits ,
8308                                                          char *__buf ,   8308                                                          char *__buf ,
8309                                                          size_t __len ) ;   8309                                                          size_t __len ) ;
8310 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,   8310 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,
8311                                                        char const   *__cp ,   8311                                                        char const   *__cp ,
8312                                                        void *__buf ,   8312                                                        void *__buf ,
8313                                                        size_t __len ) ;   8313                                                        size_t __len ) ;
8314 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,   8314 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,
8315                                                                  unsigned char *__buf ,   8315                                                                  unsigned char *__buf ,
8316                                                                  int __len ) ;   8316                                                                  int __len ) ;
8317 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,   8317 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,
8318                                                           unsigned char const   *__cp ,   8318                                                           unsigned char const   *__cp ,
8319                                                           char *__buf ) ;   8319                                                           char *__buf ) ;
8320 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;   8320 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;
8321 extern  __attribute__((__nothrow__)) int getopt_long(int ___argc ,   8321 extern  __attribute__((__nothrow__)) int getopt_long(int ___argc ,
8322                                                      char * const  *___argv ,   8322                                                      char * const  *___argv ,
8323                                                      char const   *__shortopts ,   8323                                                      char const   *__shortopts ,
8324                                                      struct option  const  *__longopts ,   8324                                                      struct option  const  *__longopts ,
8325                                                      int *__longind ) ;   8325                                                      int *__longind ) ;
8326 extern  __attribute__((__nothrow__)) int getopt_long_only(int ___argc ,   8326 extern  __attribute__((__nothrow__)) int getopt_long_only(int ___argc ,
8327                                                           char * const  *___argv ,   8327                                                           char * const  *___argv ,
8328                                                           char const   *__shortopts ,   8328                                                           char const   *__shortopts ,
8329                                                           struct option  const  *__longopts ,   8329                                                           struct option  const  *__longopts ,
8330                                                           int *__longind ) ;   8330                                                           int *__longind ) ;
8331 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;   8331 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;
8332 extern  __attribute__((__nothrow__)) void endrpcent(void) ;   8332 extern  __attribute__((__nothrow__)) void endrpcent(void) ;
8333 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;   8333 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;
8334 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;   8334 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;
8335 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;   8335 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;
8336 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,   8336 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,
8337                                                         struct rpcent *__result_buf ,   8337                                                         struct rpcent *__result_buf ,
8338                                                         char *__buffer ,   8338                                                         char *__buffer ,
8339                                                         size_t __buflen ,   8339                                                         size_t __buflen ,
8340                                                         struct rpcent **__result ) ;   8340                                                         struct rpcent **__result ) ;
8341 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,   8341 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,
8342                                                           struct rpcent *__result_buf ,   8342                                                           struct rpcent *__result_buf ,
8343                                                           char *__buffer ,   8343                                                           char *__buffer ,
8344                                                           size_t __buflen ,   8344                                                           size_t __buflen ,
8345                                                           struct rpcent **__result ) ;   8345                                                           struct rpcent **__result ) ;
8346 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,   8346 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,
8347                                                      char *__buffer ,   8347                                                      char *__buffer ,
8348                                                      size_t __buflen ,   8348                                                      size_t __buflen ,
8349                                                      struct rpcent **__result ) ;   8349                                                      struct rpcent **__result ) ;
8350 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;   8350 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;
8351 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;   8351 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;
8352 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;   8352 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;
8353 extern void sethostent(int __stay_open ) ;   8353 extern void sethostent(int __stay_open ) ;
8354 extern void endhostent(void) ;   8354 extern void endhostent(void) ;
8355 extern struct hostent *gethostent(void) ;   8355 extern struct hostent *gethostent(void) ;
8356 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,   8356 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,
8357                                      int __type ) ;   8357                                      int __type ) ;
8358 extern struct hostent *gethostbyname(char const   *__name ) ;   8358 extern struct hostent *gethostbyname(char const   *__name ) ;
8359 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;   8359 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;
8360 extern int gethostent_r(struct hostent * __restrict  __result_buf ,   8360 extern int gethostent_r(struct hostent * __restrict  __result_buf ,
8361                         char * __restrict  __buf , size_t __buflen ,   8361                         char * __restrict  __buf , size_t __buflen ,
8362                         struct hostent ** __restrict  __result ,   8362                         struct hostent ** __restrict  __result ,
8363                         int * __restrict  __h_errnop ) ;   8363                         int * __restrict  __h_errnop ) ;
8364 extern int gethostbyaddr_r(void const   * __restrict  __addr ,   8364 extern int gethostbyaddr_r(void const   * __restrict  __addr ,
8365                            __socklen_t __len , int __type ,   8365                            __socklen_t __len , int __type ,
8366                            struct hostent * __restrict  __result_buf ,   8366                            struct hostent * __restrict  __result_buf ,
8367                            char * __restrict  __buf , size_t __buflen ,   8367                            char * __restrict  __buf , size_t __buflen ,
8368                            struct hostent ** __restrict  __result ,   8368                            struct hostent ** __restrict  __result ,
8369                            int * __restrict  __h_errnop ) ;   8369                            int * __restrict  __h_errnop ) ;
8370 extern int gethostbyname_r(char const   * __restrict  __name ,   8370 extern int gethostbyname_r(char const   * __restrict  __name ,
8371                            struct hostent * __restrict  __result_buf ,   8371                            struct hostent * __restrict  __result_buf ,
8372                            char * __restrict  __buf , size_t __buflen ,   8372                            char * __restrict  __buf , size_t __buflen ,
8373                            struct hostent ** __restrict  __result ,   8373                            struct hostent ** __restrict  __result ,
8374                            int * __restrict  __h_errnop ) ;   8374                            int * __restrict  __h_errnop ) ;
8375 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,   8375 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,
8376                             struct hostent * __restrict  __result_buf ,   8376                             struct hostent * __restrict  __result_buf ,
8377                             char * __restrict  __buf , size_t __buflen ,   8377                             char * __restrict  __buf , size_t __buflen ,
8378                             struct hostent ** __restrict  __result ,   8378                             struct hostent ** __restrict  __result ,
8379                             int * __restrict  __h_errnop ) ;   8379                             int * __restrict  __h_errnop ) ;
8380 extern void setnetent(int __stay_open ) ;   8380 extern void setnetent(int __stay_open ) ;
8381 extern void endnetent(void) ;   8381 extern void endnetent(void) ;
8382 extern struct netent *getnetent(void) ;   8382 extern struct netent *getnetent(void) ;
8383 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;   8383 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;
8384 extern struct netent *getnetbyname(char const   *__name ) ;   8384 extern struct netent *getnetbyname(char const   *__name ) ;
8385 extern int getnetent_r(struct netent * __restrict  __result_buf ,   8385 extern int getnetent_r(struct netent * __restrict  __result_buf ,
8386                        char * __restrict  __buf , size_t __buflen ,   8386                        char * __restrict  __buf , size_t __buflen ,
8387                        struct netent ** __restrict  __result ,   8387                        struct netent ** __restrict  __result ,
8388                        int * __restrict  __h_errnop ) ;   8388                        int * __restrict  __h_errnop ) ;
8389 extern int getnetbyaddr_r(uint32_t __net , int __type ,   8389 extern int getnetbyaddr_r(uint32_t __net , int __type ,
8390                           struct netent * __restrict  __result_buf ,   8390                           struct netent * __restrict  __result_buf ,
8391                           char * __restrict  __buf , size_t __buflen ,   8391                           char * __restrict  __buf , size_t __buflen ,
8392                           struct netent ** __restrict  __result ,   8392                           struct netent ** __restrict  __result ,
8393                           int * __restrict  __h_errnop ) ;   8393                           int * __restrict  __h_errnop ) ;
8394 extern int getnetbyname_r(char const   * __restrict  __name ,   8394 extern int getnetbyname_r(char const   * __restrict  __name ,
8395                           struct netent * __restrict  __result_buf ,   8395                           struct netent * __restrict  __result_buf ,
8396                           char * __restrict  __buf , size_t __buflen ,   8396                           char * __restrict  __buf , size_t __buflen ,
8397                           struct netent ** __restrict  __result ,   8397                           struct netent ** __restrict  __result ,
8398                           int * __restrict  __h_errnop ) ;   8398                           int * __restrict  __h_errnop ) ;
8399 extern void setservent(int __stay_open ) ;   8399 extern void setservent(int __stay_open ) ;
8400 extern void endservent(void) ;   8400 extern void endservent(void) ;
8401 extern struct servent *getservent(void) ;   8401 extern struct servent *getservent(void) ;
8402 extern struct servent *getservbyname(char const   *__name ,   8402 extern struct servent *getservbyname(char const   *__name ,
8403                                      char const   *__proto ) ;   8403                                      char const   *__proto ) ;
8404 extern struct servent *getservbyport(int __port , char const   *__proto ) ;   8404 extern struct servent *getservbyport(int __port , char const   *__proto ) ;
8405 extern int getservent_r(struct servent * __restrict  __result_buf ,   8405 extern int getservent_r(struct servent * __restrict  __result_buf ,
8406                         char * __restrict  __buf , size_t __buflen ,   8406                         char * __restrict  __buf , size_t __buflen ,
8407                         struct servent ** __restrict  __result ) ;   8407                         struct servent ** __restrict  __result ) ;
8408 extern int getservbyname_r(char const   * __restrict  __name ,   8408 extern int getservbyname_r(char const   * __restrict  __name ,
8409                            char const   * __restrict  __proto ,   8409                            char const   * __restrict  __proto ,
8410                            struct servent * __restrict  __result_buf ,   8410                            struct servent * __restrict  __result_buf ,
8411                            char * __restrict  __buf , size_t __buflen ,   8411                            char * __restrict  __buf , size_t __buflen ,
8412                            struct servent ** __restrict  __result ) ;   8412                            struct servent ** __restrict  __result ) ;
8413 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,   8413 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,
8414                            struct servent * __restrict  __result_buf ,   8414                            struct servent * __restrict  __result_buf ,
8415                            char * __restrict  __buf , size_t __buflen ,   8415                            char * __restrict  __buf , size_t __buflen ,
8416                            struct servent ** __restrict  __result ) ;   8416                            struct servent ** __restrict  __result ) ;
8417 extern void setprotoent(int __stay_open ) ;   8417 extern void setprotoent(int __stay_open ) ;
8418 extern void endprotoent(void) ;   8418 extern void endprotoent(void) ;
8419 extern struct protoent *getprotoent(void) ;   8419 extern struct protoent *getprotoent(void) ;
8420 extern struct protoent *getprotobyname(char const   *__name ) ;   8420 extern struct protoent *getprotobyname(char const   *__name ) ;
8421 extern struct protoent *getprotobynumber(int __proto ) ;   8421 extern struct protoent *getprotobynumber(int __proto ) ;
8422 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,   8422 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,
8423                          char * __restrict  __buf , size_t __buflen ,   8423                          char * __restrict  __buf , size_t __buflen ,
8424                          struct protoent ** __restrict  __result ) ;   8424                          struct protoent ** __restrict  __result ) ;
8425 extern int getprotobyname_r(char const   * __restrict  __name ,   8425 extern int getprotobyname_r(char const   * __restrict  __name ,
8426                             struct protoent * __restrict  __result_buf ,   8426                             struct protoent * __restrict  __result_buf ,
8427                             char * __restrict  __buf , size_t __buflen ,   8427                             char * __restrict  __buf , size_t __buflen ,
8428                             struct protoent ** __restrict  __result ) ;   8428                             struct protoent ** __restrict  __result ) ;
8429 extern int getprotobynumber_r(int __proto ,   8429 extern int getprotobynumber_r(int __proto ,
8430                               struct protoent * __restrict  __result_buf ,   8430                               struct protoent * __restrict  __result_buf ,
8431                               char * __restrict  __buf , size_t __buflen ,   8431                               char * __restrict  __buf , size_t __buflen ,
8432                               struct protoent ** __restrict  __result ) ;   8432                               struct protoent ** __restrict  __result ) ;
8433 extern int setnetgrent(char const   *__netgroup ) ;   8433 extern int setnetgrent(char const   *__netgroup ) ;
8434 extern void endnetgrent(void) ;   8434 extern void endnetgrent(void) ;
8435 extern int getnetgrent(char ** __restrict  __hostp ,   8435 extern int getnetgrent(char ** __restrict  __hostp ,
8436                        char ** __restrict  __userp ,   8436                        char ** __restrict  __userp ,
8437                        char ** __restrict  __domainp ) ;   8437                        char ** __restrict  __domainp ) ;
8438 extern int innetgr(char const   *__netgroup , char const   *__host ,   8438 extern int innetgr(char const   *__netgroup , char const   *__host ,
8439                    char const   *__user , char const   *__domain ) ;   8439                    char const   *__user , char const   *__domain ) ;
8440 extern int getnetgrent_r(char ** __restrict  __hostp ,   8440 extern int getnetgrent_r(char ** __restrict  __hostp ,
8441                          char ** __restrict  __userp ,   8441                          char ** __restrict  __userp ,
8442                          char ** __restrict  __domainp ,   8442                          char ** __restrict  __domainp ,
8443                          char * __restrict  __buffer , size_t __buflen ) ;   8443                          char * __restrict  __buffer , size_t __buflen ) ;
8444 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,   8444 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,
8445                 char const   * __restrict  __locuser ,   8445                 char const   * __restrict  __locuser ,
8446                 char const   * __restrict  __remuser ,   8446                 char const   * __restrict  __remuser ,
8447                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   8447                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
8448 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,   8448 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,
8449                    char const   * __restrict  __locuser ,   8449                    char const   * __restrict  __locuser ,
8450                    char const   * __restrict  __remuser ,   8450                    char const   * __restrict  __remuser ,
8451                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,   8451                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,
8452                    sa_family_t __af ) ;   8452                    sa_family_t __af ) ;
8453 extern int rexec(char ** __restrict  __ahost , int __rport ,   8453 extern int rexec(char ** __restrict  __ahost , int __rport ,
8454                  char const   * __restrict  __name ,   8454                  char const   * __restrict  __name ,
8455                  char const   * __restrict  __pass ,   8455                  char const   * __restrict  __pass ,
8456                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   8456                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
8457 extern int rexec_af(char ** __restrict  __ahost , int __rport ,   8457 extern int rexec_af(char ** __restrict  __ahost , int __rport ,
8458                     char const   * __restrict  __name ,   8458                     char const   * __restrict  __name ,
8459                     char const   * __restrict  __pass ,   8459                     char const   * __restrict  __pass ,
8460                     char const   * __restrict  __cmd ,   8460                     char const   * __restrict  __cmd ,
8461                     int * __restrict  __fd2p , sa_family_t __af ) ;   8461                     int * __restrict  __fd2p , sa_family_t __af ) ;
8462 extern int ruserok(char const   *__rhost , int __suser ,   8462 extern int ruserok(char const   *__rhost , int __suser ,
8463                    char const   *__remuser , char const   *__locuser ) ;   8463                    char const   *__remuser , char const   *__locuser ) ;
8464 extern int ruserok_af(char const   *__rhost , int __suser ,   8464 extern int ruserok_af(char const   *__rhost , int __suser ,
8465                       char const   *__remuser , char const   *__locuser ,   8465                       char const   *__remuser , char const   *__locuser ,
8466                       sa_family_t __af ) ;   8466                       sa_family_t __af ) ;
8467 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,   8467 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,
8468                     char const   *__locuser ) ;   8468                     char const   *__locuser ) ;
8469 extern int iruserok_af(void const   *__raddr , int __suser ,   8469 extern int iruserok_af(void const   *__raddr , int __suser ,
8470                        char const   *__remuser , char const   *__locuser ,   8470                        char const   *__remuser , char const   *__locuser ,
8471                        sa_family_t __af ) ;   8471                        sa_family_t __af ) ;
8472 extern int rresvport(int *__alport ) ;   8472 extern int rresvport(int *__alport ) ;
8473 extern int rresvport_af(int *__alport , sa_family_t __af ) ;   8473 extern int rresvport_af(int *__alport , sa_family_t __af ) ;
8474 extern int getaddrinfo(char const   * __restrict  __name ,   8474 extern int getaddrinfo(char const   * __restrict  __name ,
8475                        char const   * __restrict  __service ,   8475                        char const   * __restrict  __service ,
8476                        struct addrinfo  const  * __restrict  __req ,   8476                        struct addrinfo  const  * __restrict  __req ,
8477                        struct addrinfo ** __restrict  __pai ) ;   8477                        struct addrinfo ** __restrict  __pai ) ;
8478 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;   8478 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;
8479 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;   8479 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;
8480 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,   8480 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,
8481                        socklen_t __salen , char * __restrict  __host ,   8481                        socklen_t __salen , char * __restrict  __host ,
8482                        socklen_t __hostlen , char * __restrict  __serv ,   8482                        socklen_t __hostlen , char * __restrict  __serv ,
8483                        socklen_t __servlen , unsigned int __flags ) ;   8483                        socklen_t __servlen , unsigned int __flags ) ;
8484 extern void guids_init(void) ;   8484 extern void guids_init(void) ;
8485 extern void guids_add_guid(e_guid_t *guid , gchar const   *name ) ;   8485 extern void guids_add_guid(e_guid_t *guid , gchar const   *name ) ;
8486 extern gchar const   *guids_get_guid_name(e_guid_t *guid ) ;   8486 extern gchar const   *guids_get_guid_name(e_guid_t *guid ) ;
8487 extern gchar const   *guids_resolve_guid_to_str(e_guid_t *guid ) ;   8487 extern gchar const   *guids_resolve_guid_to_str(e_guid_t *guid ) ;
8488 extern  __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ;   8488 extern  __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ;
8489 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,   8489 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,
8490                                                      int __savemask ) ;   8490                                                      int __savemask ) ;
8491 extern  __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ;   8491 extern  __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ;
8492 extern  __attribute__((__nothrow__,   8492 extern  __attribute__((__nothrow__,
8493 __noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ;   8493 __noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ;
8494 extern  __attribute__((__nothrow__,   8494 extern  __attribute__((__nothrow__,
8495 __noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ;   8495 __noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ;
8496 extern  __attribute__((__nothrow__,   8496 extern  __attribute__((__nothrow__,
8497 __noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ;   8497 __noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ;
8498 extern  __attribute__((__nothrow__,   8498 extern  __attribute__((__nothrow__,
8499 __noreturn__)) void __assert_fail(char const   *__assertion ,   8499 __noreturn__)) void __assert_fail(char const   *__assertion ,
8500                                   char const   *__file , unsigned int __line ,   8500                                   char const   *__file , unsigned int __line ,
8501                                   char const   *__function ) ;   8501                                   char const   *__function ) ;
8502 extern  __attribute__((__nothrow__,   8502 extern  __attribute__((__nothrow__,
8503 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,   8503 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,
8504                                          unsigned int __line ,   8504                                          unsigned int __line ,
8505                                          char const   *__function ) ;   8505                                          char const   *__function ) ;
8506 extern  __attribute__((__nothrow__,   8506 extern  __attribute__((__nothrow__,
8507 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,   8507 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,
8508                              int __line ) ;   8508                              int __line ) ;
8509 extern void except_setup_clean(struct except_stacknode * ,   8509 extern void except_setup_clean(struct except_stacknode * ,
8510                                struct except_cleanup * , void (*)(void * ) ,   8510                                struct except_cleanup * , void (*)(void * ) ,
8511                                void * ) ;   8511                                void * ) ;
8512 extern void except_setup_try(struct except_stacknode * , struct except_catch * ,   8512 extern void except_setup_try(struct except_stacknode * , struct except_catch * ,
8513                              except_id_t const   * , size_t  ) ;   8513                              except_id_t const   * , size_t  ) ;
8514 extern struct except_stacknode *except_pop(void) ;   8514 extern struct except_stacknode *except_pop(void) ;
8515 extern int except_init(void) ;   8515 extern int except_init(void) ;
8516 extern void except_deinit(void) ;   8516 extern void except_deinit(void) ;
8517 extern  __attribute__((__noreturn__)) void except_rethrow(except_t * ) ;   8517 extern  __attribute__((__noreturn__)) void except_rethrow(except_t * ) ;
8518 extern  __attribute__((__noreturn__)) void except_throw(long  , long  ,   8518 extern  __attribute__((__noreturn__)) void except_throw(long  , long  ,
8519                                                         char const   * ) ;   8519                                                         char const   * ) ;
8520 extern  __attribute__((__noreturn__)) void except_throwd(long  , long  ,   8520 extern  __attribute__((__noreturn__)) void except_throwd(long  , long  ,
8521                                                          char const   * ,   8521                                                          char const   * ,
8522                                                          void * ) ;   8522                                                          void * ) ;
8523 extern  __attribute__((__noreturn__)) void except_throwf(long  , long  ,   8523 extern  __attribute__((__noreturn__)) void except_throwf(long  , long  ,
8524                                                          char const   *  , ...) ;   8524                                                          char const   *  , ...) ;
8525 extern void (*except_unhandled_catcher(void (*)(except_t * ) ))(except_t * ) ;   8525 extern void (*except_unhandled_catcher(void (*)(except_t * ) ))(except_t * ) ;
8526 extern unsigned long except_code(except_t * ) ;   8526 extern unsigned long except_code(except_t * ) ;
8527 extern unsigned long except_group(except_t * ) ;   8527 extern unsigned long except_group(except_t * ) ;
8528 extern char const   *except_message(except_t * ) ;   8528 extern char const   *except_message(except_t * ) ;
8529 extern void *except_data(except_t * ) ;   8529 extern void *except_data(except_t * ) ;
8530 extern void *except_take_data(except_t * ) ;   8530 extern void *except_take_data(except_t * ) ;
8531 extern void except_set_allocator(void *(*)(size_t  ) , void (*)(void * ) ) ;   8531 extern void except_set_allocator(void *(*)(size_t  ) , void (*)(void * ) ) ;
8532 extern void *except_alloc(size_t  ) ;   8532 extern void *except_alloc(size_t  ) ;
8533 extern void except_free(void * ) ;   8533 extern void except_free(void * ) ;
8534 extern void tvbuff_init(void) ;   8534 extern void tvbuff_init(void) ;
8535 extern void tvbuff_cleanup(void) ;   8535 extern void tvbuff_cleanup(void) ;
8536 extern tvbuff_t *tvb_new(tvbuff_type  ) ;   8536 extern tvbuff_t *tvb_new(tvbuff_type  ) ;
8537 extern void tvb_free(tvbuff_t * ) ;   8537 extern void tvb_free(tvbuff_t * ) ;
8538 extern void tvb_free_chain(tvbuff_t * ) ;   8538 extern void tvb_free_chain(tvbuff_t * ) ;
8539 extern guint tvb_increment_usage_count(tvbuff_t * , guint const   count ) ;   8539 extern guint tvb_increment_usage_count(tvbuff_t * , guint const   count ) ;
8540 extern guint tvb_decrement_usage_count(tvbuff_t * , guint const   count ) ;   8540 extern guint tvb_decrement_usage_count(tvbuff_t * , guint const   count ) ;
8541 extern void tvb_set_free_cb(tvbuff_t * , void (* const  )(void * ) ) ;   8541 extern void tvb_set_free_cb(tvbuff_t * , void (* const  )(void * ) ) ;
8542 extern void tvb_set_child_real_data_tvbuff(tvbuff_t *parent , tvbuff_t *child ) ;   8542 extern void tvb_set_child_real_data_tvbuff(tvbuff_t *parent , tvbuff_t *child ) ;
8543 extern tvbuff_t *tvb_new_child_real_data(tvbuff_t *parent ,   8543 extern tvbuff_t *tvb_new_child_real_data(tvbuff_t *parent ,
8544                                          guint8 const   *data ,   8544                                          guint8 const   *data ,
8545                                          guint const   length ,   8545                                          guint const   length ,
8546                                          gint const   reported_length ) ;   8546                                          gint const   reported_length ) ;
8547 extern void tvb_set_real_data(tvbuff_t * , guint8 const   *data ,   8547 extern void tvb_set_real_data(tvbuff_t * , guint8 const   *data ,
8548                               guint const   length ,   8548                               guint const   length ,
8549                               gint const   reported_length ) ;   8549                               gint const   reported_length ) ;
8550 extern tvbuff_t *tvb_new_real_data(guint8 const   *data , guint const   length ,   8550 extern tvbuff_t *tvb_new_real_data(guint8 const   *data , guint const   length ,
8551                                    gint const   reported_length ) ;   8551                                    gint const   reported_length ) ;
8552 extern void tvb_set_subset(tvbuff_t *tvb , tvbuff_t *backing ,   8552 extern void tvb_set_subset(tvbuff_t *tvb , tvbuff_t *backing ,
8553                            gint const   backing_offset ,   8553                            gint const   backing_offset ,
8554                            gint const   backing_length ,   8554                            gint const   backing_length ,
8555                            gint const   reported_length ) ;   8555                            gint const   reported_length ) ;
8556 extern tvbuff_t *tvb_new_subset(tvbuff_t *backing ,   8556 extern tvbuff_t *tvb_new_subset(tvbuff_t *backing ,
8557                                 gint const   backing_offset ,   8557                                 gint const   backing_offset ,
8558                                 gint const   backing_length ,   8558                                 gint const   backing_length ,
8559                                 gint const   reported_length ) ;   8559                                 gint const   reported_length ) ;
8560 extern tvbuff_t *tvb_new_subset_remaining(tvbuff_t *backing ,   8560 extern tvbuff_t *tvb_new_subset_remaining(tvbuff_t *backing ,
8561                                           gint const   backing_offset ) ;   8561                                           gint const   backing_offset ) ;
8562 extern void tvb_composite_append(tvbuff_t *tvb , tvbuff_t *member ) ;   8562 extern void tvb_composite_append(tvbuff_t *tvb , tvbuff_t *member ) ;
8563 extern void tvb_composite_prepend(tvbuff_t *tvb , tvbuff_t *member ) ;   8563 extern void tvb_composite_prepend(tvbuff_t *tvb , tvbuff_t *member ) ;
8564 extern tvbuff_t *tvb_new_composite(void) ;   8564 extern tvbuff_t *tvb_new_composite(void) ;
8565 extern void tvb_composite_finalize(tvbuff_t *tvb ) ;   8565 extern void tvb_composite_finalize(tvbuff_t *tvb ) ;
8566 extern guint tvb_length(tvbuff_t const   * ) ;   8566 extern guint tvb_length(tvbuff_t const   * ) ;
8567 extern gint tvb_length_remaining(tvbuff_t const   * , gint const   offset ) ;   8567 extern gint tvb_length_remaining(tvbuff_t const   * , gint const   offset ) ;
8568 extern guint tvb_ensure_length_remaining(tvbuff_t const   * ,   8568 extern guint tvb_ensure_length_remaining(tvbuff_t const   * ,
8569                                          gint const   offset ) ;   8569                                          gint const   offset ) ;
8570 extern gboolean tvb_bytes_exist(tvbuff_t const   * , gint const   offset ,   8570 extern gboolean tvb_bytes_exist(tvbuff_t const   * , gint const   offset ,
8571                                 gint const   length ) ;   8571                                 gint const   length ) ;
8572 extern void tvb_ensure_bytes_exist(tvbuff_t const   *tvb , gint const   offset ,   8572 extern void tvb_ensure_bytes_exist(tvbuff_t const   *tvb , gint const   offset ,
8573                                    gint const   length ) ;   8573                                    gint const   length ) ;
8574 extern gboolean tvb_offset_exists(tvbuff_t const   * , gint const   offset ) ;   8574 extern gboolean tvb_offset_exists(tvbuff_t const   * , gint const   offset ) ;
8575 extern guint tvb_reported_length(tvbuff_t const   * ) ;   8575 extern guint tvb_reported_length(tvbuff_t const   * ) ;
8576 extern gint tvb_reported_length_remaining(tvbuff_t const   *tvb ,   8576 extern gint tvb_reported_length_remaining(tvbuff_t const   *tvb ,
8577                                           gint const   offset ) ;   8577                                           gint const   offset ) ;
8578 extern void tvb_set_reported_length(tvbuff_t * , guint const    ) ;   8578 extern void tvb_set_reported_length(tvbuff_t * , guint const    ) ;
8579 extern guint tvb_offset_from_real_beginning(tvbuff_t const   *tvb ) ;   8579 extern guint tvb_offset_from_real_beginning(tvbuff_t const   *tvb ) ;
8580 extern guint8 tvb_get_guint8(tvbuff_t * , gint const   offset ) ;   8580 extern guint8 tvb_get_guint8(tvbuff_t * , gint const   offset ) ;
8581 extern guint16 tvb_get_ntohs(tvbuff_t * , gint const   offset ) ;   8581 extern guint16 tvb_get_ntohs(tvbuff_t * , gint const   offset ) ;
8582 extern guint32 tvb_get_ntoh24(tvbuff_t * , gint const   offset ) ;   8582 extern guint32 tvb_get_ntoh24(tvbuff_t * , gint const   offset ) ;
8583 extern guint32 tvb_get_ntohl(tvbuff_t * , gint const   offset ) ;   8583 extern guint32 tvb_get_ntohl(tvbuff_t * , gint const   offset ) ;
8584 extern guint64 tvb_get_ntoh40(tvbuff_t * , gint const   offset ) ;   8584 extern guint64 tvb_get_ntoh40(tvbuff_t * , gint const   offset ) ;
8585 extern guint64 tvb_get_ntoh48(tvbuff_t * , gint const   offset ) ;   8585 extern guint64 tvb_get_ntoh48(tvbuff_t * , gint const   offset ) ;
8586 extern guint64 tvb_get_ntoh56(tvbuff_t * , gint const   offset ) ;   8586 extern guint64 tvb_get_ntoh56(tvbuff_t * , gint const   offset ) ;
8587 extern guint64 tvb_get_ntoh64(tvbuff_t * , gint const   offset ) ;   8587 extern guint64 tvb_get_ntoh64(tvbuff_t * , gint const   offset ) ;
8588 extern gfloat tvb_get_ntohieee_float(tvbuff_t * , gint const   offset ) ;   8588 extern gfloat tvb_get_ntohieee_float(tvbuff_t * , gint const   offset ) ;
8589 extern gdouble tvb_get_ntohieee_double(tvbuff_t * , gint const   offset ) ;   8589 extern gdouble tvb_get_ntohieee_double(tvbuff_t * , gint const   offset ) ;
8590 extern guint16 tvb_get_letohs(tvbuff_t * , gint const   offset ) ;   8590 extern guint16 tvb_get_letohs(tvbuff_t * , gint const   offset ) ;
8591 extern guint32 tvb_get_letoh24(tvbuff_t * , gint const   offset ) ;   8591 extern guint32 tvb_get_letoh24(tvbuff_t * , gint const   offset ) ;
8592 extern guint32 tvb_get_letohl(tvbuff_t * , gint const   offset ) ;   8592 extern guint32 tvb_get_letohl(tvbuff_t * , gint const   offset ) ;
8593 extern guint64 tvb_get_letoh40(tvbuff_t * , gint const   offset ) ;   8593 extern guint64 tvb_get_letoh40(tvbuff_t * , gint const   offset ) ;
8594 extern guint64 tvb_get_letoh48(tvbuff_t * , gint const   offset ) ;   8594 extern guint64 tvb_get_letoh48(tvbuff_t * , gint const   offset ) ;
8595 extern guint64 tvb_get_letoh56(tvbuff_t * , gint const   offset ) ;   8595 extern guint64 tvb_get_letoh56(tvbuff_t * , gint const   offset ) ;
8596 extern guint64 tvb_get_letoh64(tvbuff_t * , gint const   offset ) ;   8596 extern guint64 tvb_get_letoh64(tvbuff_t * , gint const   offset ) ;
8597 extern gfloat tvb_get_letohieee_float(tvbuff_t * , gint const   offset ) ;   8597 extern gfloat tvb_get_letohieee_float(tvbuff_t * , gint const   offset ) ;
8598 extern gdouble tvb_get_letohieee_double(tvbuff_t * , gint const   offset ) ;   8598 extern gdouble tvb_get_letohieee_double(tvbuff_t * , gint const   offset ) ;
8599 extern guint32 tvb_get_ipv4(tvbuff_t * , gint const   offset ) ;   8599 extern guint32 tvb_get_ipv4(tvbuff_t * , gint const   offset ) ;
8600 extern void tvb_get_ipv6(tvbuff_t * , gint const   offset ,   8600 extern void tvb_get_ipv6(tvbuff_t * , gint const   offset ,
8601                          struct e_in6_addr *addr ) ;   8601                          struct e_in6_addr *addr ) ;
8602 extern void tvb_get_ntohguid(tvbuff_t *tvb , gint const   offset ,   8602 extern void tvb_get_ntohguid(tvbuff_t *tvb , gint const   offset ,
8603                              e_guid_t *guid ) ;   8603                              e_guid_t *guid ) ;
8604 extern void tvb_get_letohguid(tvbuff_t *tvb , gint const   offset ,   8604 extern void tvb_get_letohguid(tvbuff_t *tvb , gint const   offset ,
8605                               e_guid_t *guid ) ;   8605                               e_guid_t *guid ) ;
8606 extern void tvb_get_guid(tvbuff_t *tvb , gint const   offset , e_guid_t *guid ,   8606 extern void tvb_get_guid(tvbuff_t *tvb , gint const   offset , e_guid_t *guid ,
8607                          guint const   representation ) ;   8607                          guint const   representation ) ;
8608 extern guint8 tvb_get_bits8(tvbuff_t *tvb , gint bit_offset ,   8608 extern guint8 tvb_get_bits8(tvbuff_t *tvb , gint bit_offset ,
8609                             gint const   no_of_bits ) ;   8609                             gint const   no_of_bits ) ;
8610 extern guint16 tvb_get_bits16(tvbuff_t *tvb , gint bit_offset ,   8610 extern guint16 tvb_get_bits16(tvbuff_t *tvb , gint bit_offset ,
8611                               gint const   no_of_bits ,   8611                               gint const   no_of_bits ,
8612                               gboolean const   little_endian ) ;   8612                               gboolean const   little_endian ) ;
8613 extern guint32 tvb_get_bits32(tvbuff_t *tvb , gint bit_offset ,   8613 extern guint32 tvb_get_bits32(tvbuff_t *tvb , gint bit_offset ,
8614                               gint const   no_of_bits ,   8614                               gint const   no_of_bits ,
8615                               gboolean const   little_endian ) ;   8615                               gboolean const   little_endian ) ;
8616 extern guint64 tvb_get_bits64(tvbuff_t *tvb , gint bit_offset ,   8616 extern guint64 tvb_get_bits64(tvbuff_t *tvb , gint bit_offset ,
8617                               gint const   no_of_bits ,   8617                               gint const   no_of_bits ,
8618                               gboolean const   little_endian ) ;   8618                               gboolean const   little_endian ) ;
8619 extern guint32 tvb_get_bits(tvbuff_t *tvb , gint const   bit_offset ,   8619 extern guint32 tvb_get_bits(tvbuff_t *tvb , gint const   bit_offset ,
8620                             gint const   no_of_bits ,   8620                             gint const   no_of_bits ,
8621                             gboolean const   little_endian ) ;   8621                             gboolean const   little_endian ) ;
8622 extern void *tvb_memcpy(tvbuff_t * , void *target , gint const   offset ,   8622 extern void *tvb_memcpy(tvbuff_t * , void *target , gint const   offset ,
8623                         size_t length ) ;   8623                         size_t length ) ;
8624 extern void *tvb_memdup(tvbuff_t * , gint const   offset , size_t length ) ;   8624 extern void *tvb_memdup(tvbuff_t * , gint const   offset , size_t length ) ;
8625 extern void *ep_tvb_memdup(tvbuff_t *tvb , gint const   offset , size_t length ) ;   8625 extern void *ep_tvb_memdup(tvbuff_t *tvb , gint const   offset , size_t length ) ;
8626 extern guint8 const   *tvb_get_ptr(tvbuff_t * , gint const   offset ,   8626 extern guint8 const   *tvb_get_ptr(tvbuff_t * , gint const   offset ,
8627                                    gint const   length ) ;   8627                                    gint const   length ) ;
8628 extern gint tvb_find_guint8(tvbuff_t * , gint const   offset ,   8628 extern gint tvb_find_guint8(tvbuff_t * , gint const   offset ,
8629                             gint const   maxlength , guint8 const   needle ) ;   8629                             gint const   maxlength , guint8 const   needle ) ;
8630 extern gint tvb_pbrk_guint8(tvbuff_t * , gint const   offset ,   8630 extern gint tvb_pbrk_guint8(tvbuff_t * , gint const   offset ,
8631                             gint const   maxlength , guint8 const   *needles ,   8631                             gint const   maxlength , guint8 const   *needles ,
8632                             guchar *found_needle ) ;   8632                             guchar *found_needle ) ;
8633 extern guint tvb_strsize(tvbuff_t *tvb , gint const   offset ) ;   8633 extern guint tvb_strsize(tvbuff_t *tvb , gint const   offset ) ;
8634 extern gint tvb_strnlen(tvbuff_t * , gint const   offset ,   8634 extern gint tvb_strnlen(tvbuff_t * , gint const   offset ,
8635                         guint const   maxlength ) ;   8635                         guint const   maxlength ) ;
8636 extern char *tvb_fake_unicode(tvbuff_t *tvb , int offset , int const   len ,   8636 extern char *tvb_fake_unicode(tvbuff_t *tvb , int offset , int const   len ,
8637                               gboolean const   little_endian ) ;   8637                               gboolean const   little_endian ) ;
8638 extern char *tvb_get_ephemeral_faked_unicode(tvbuff_t *tvb , int offset ,   8638 extern char *tvb_get_ephemeral_faked_unicode(tvbuff_t *tvb , int offset ,
8639                                              int const   len ,   8639                                              int const   len ,
8640                                              gboolean const   little_endian ) ;   8640                                              gboolean const   little_endian ) ;
8641 extern gchar *tvb_format_text(tvbuff_t *tvb , gint const   offset ,   8641 extern gchar *tvb_format_text(tvbuff_t *tvb , gint const   offset ,
8642                               gint const   size ) ;   8642                               gint const   size ) ;
8643 extern gchar *tvb_format_text_wsp(tvbuff_t *tvb , gint const   offset ,   8643 extern gchar *tvb_format_text_wsp(tvbuff_t *tvb , gint const   offset ,
8644                                   gint const   size ) ;   8644                                   gint const   size ) ;
8645 extern gchar *tvb_format_stringzpad(tvbuff_t *tvb , gint const   offset ,   8645 extern gchar *tvb_format_stringzpad(tvbuff_t *tvb , gint const   offset ,
8646                                     gint const   size ) ;   8646                                     gint const   size ) ;
8647 extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb , gint const   offset ,   8647 extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb , gint const   offset ,
8648                                         gint const   size ) ;   8648                                         gint const   size ) ;
8649 extern guint8 *tvb_get_string(tvbuff_t *tvb , gint const   offset ,   8649 extern guint8 *tvb_get_string(tvbuff_t *tvb , gint const   offset ,
8650                               gint const   length ) ;   8650                               gint const   length ) ;
8651 extern gchar *tvb_get_unicode_string(tvbuff_t *tvb , gint const   offset ,   8651 extern gchar *tvb_get_unicode_string(tvbuff_t *tvb , gint const   offset ,
8652                                      gint length , guint const   encoding ) ;   8652                                      gint length , guint const   encoding ) ;
8653 extern guint8 *tvb_get_ephemeral_string(tvbuff_t *tvb , gint const   offset ,   8653 extern guint8 *tvb_get_ephemeral_string(tvbuff_t *tvb , gint const   offset ,
8654                                         gint const   length ) ;   8654                                         gint const   length ) ;
8655 extern gchar *tvb_get_ephemeral_unicode_string(tvbuff_t *tvb ,   8655 extern gchar *tvb_get_ephemeral_unicode_string(tvbuff_t *tvb ,
8656                                                gint const   offset ,   8656                                                gint const   offset ,
8657                                                gint length ,   8657                                                gint length ,
8658                                                guint const   encoding ) ;   8658                                                guint const   encoding ) ;
8659 extern guint8 *tvb_get_seasonal_string(tvbuff_t *tvb , gint const   offset ,   8659 extern guint8 *tvb_get_seasonal_string(tvbuff_t *tvb , gint const   offset ,
8660                                        gint const   length ) ;   8660                                        gint const   length ) ;
8661 extern guint8 *tvb_get_stringz(tvbuff_t *tvb , gint const   offset ,   8661 extern guint8 *tvb_get_stringz(tvbuff_t *tvb , gint const   offset ,
8662                                gint *lengthp ) ;   8662                                gint *lengthp ) ;
8663 extern guint8 const   *tvb_get_const_stringz(tvbuff_t *tvb ,   8663 extern guint8 const   *tvb_get_const_stringz(tvbuff_t *tvb ,
8664                                              gint const   offset ,   8664                                              gint const   offset ,
8665                                              gint *lengthp ) ;   8665                                              gint *lengthp ) ;
8666 extern guint8 *tvb_get_ephemeral_stringz(tvbuff_t *tvb , gint const   offset ,   8666 extern guint8 *tvb_get_ephemeral_stringz(tvbuff_t *tvb , gint const   offset ,
8667                                          gint *lengthp ) ;   8667                                          gint *lengthp ) ;
8668 extern gchar *tvb_get_ephemeral_unicode_stringz(tvbuff_t *tvb ,   8668 extern gchar *tvb_get_ephemeral_unicode_stringz(tvbuff_t *tvb ,
8669                                                 gint const   offset ,   8669                                                 gint const   offset ,
8670                                                 gint *lengthp ,   8670                                                 gint *lengthp ,
8671                                                 guint const   encoding ) ;   8671                                                 guint const   encoding ) ;
8672 extern guint8 *tvb_get_seasonal_stringz(tvbuff_t *tvb , gint const   offset ,   8672 extern guint8 *tvb_get_seasonal_stringz(tvbuff_t *tvb , gint const   offset ,
8673                                         gint *lengthp ) ;   8673                                         gint *lengthp ) ;
8674 extern gint tvb_get_nstringz(tvbuff_t *tvb , gint const   offset ,   8674 extern gint tvb_get_nstringz(tvbuff_t *tvb , gint const   offset ,
8675                              guint const   bufsize , guint8 *buffer ) ;   8675                              guint const   bufsize , guint8 *buffer ) ;
8676 extern gint tvb_get_nstringz0(tvbuff_t *tvb , gint const   offset ,   8676 extern gint tvb_get_nstringz0(tvbuff_t *tvb , gint const   offset ,
8677                               guint const   bufsize , guint8 *buffer ) ;   8677                               guint const   bufsize , guint8 *buffer ) ;
8678 extern gint tvb_find_line_end(tvbuff_t *tvb , gint const   offset , int len ,   8678 extern gint tvb_find_line_end(tvbuff_t *tvb , gint const   offset , int len ,
8679                               gint *next_offset , gboolean const   desegment ) ;   8679                               gint *next_offset , gboolean const   desegment ) ;
8680 extern gint tvb_find_line_end_unquoted(tvbuff_t *tvb , gint const   offset ,   8680 extern gint tvb_find_line_end_unquoted(tvbuff_t *tvb , gint const   offset ,
8681                                        int len , gint *next_offset ) ;   8681                                        int len , gint *next_offset ) ;
8682 extern gint tvb_skip_wsp(tvbuff_t *tvb , gint const   offset ,   8682 extern gint tvb_skip_wsp(tvbuff_t *tvb , gint const   offset ,
8683                          gint const   maxlength ) ;   8683                          gint const   maxlength ) ;
8684 extern gint tvb_skip_wsp_return(tvbuff_t *tvb , gint const   offset ) ;   8684 extern gint tvb_skip_wsp_return(tvbuff_t *tvb , gint const   offset ) ;
8685 extern gint tvb_strneql(tvbuff_t *tvb , gint const   offset ,   8685 extern gint tvb_strneql(tvbuff_t *tvb , gint const   offset ,
8686                         gchar const   *str , size_t const   size ) ;   8686                         gchar const   *str , size_t const   size ) ;
8687 extern gint tvb_strncaseeql(tvbuff_t *tvb , gint const   offset ,   8687 extern gint tvb_strncaseeql(tvbuff_t *tvb , gint const   offset ,
8688                             gchar const   *str , size_t const   size ) ;   8688                             gchar const   *str , size_t const   size ) ;
8689 extern gint tvb_memeql(tvbuff_t *tvb , gint const   offset ,   8689 extern gint tvb_memeql(tvbuff_t *tvb , gint const   offset ,
8690                        guint8 const   *str , size_t size ) ;   8690                        guint8 const   *str , size_t size ) ;
8691 extern gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb , gint const   offset ,   8691 extern gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb , gint const   offset ,
8692                                      gint const   len , gchar const   punct ) ;   8692                                      gint const   len , gchar const   punct ) ;
8693 extern gchar *tvb_bytes_to_str(tvbuff_t *tvb , gint const   offset ,   8693 extern gchar *tvb_bytes_to_str(tvbuff_t *tvb , gint const   offset ,
8694                                gint const   len ) ;   8694                                gint const   len ) ;
8695 extern gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb , gint const   offset ,   8695 extern gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb , gint const   offset ,
8696                                     gint const   len , dgt_set_t *dgt ,   8696                                     gint const   len , dgt_set_t *dgt ,
8697                                     gboolean skip_first ) ;   8697                                     gboolean skip_first ) ;
8698 extern gint tvb_find_tvb(tvbuff_t *haystack_tvb , tvbuff_t *needle_tvb ,   8698 extern gint tvb_find_tvb(tvbuff_t *haystack_tvb , tvbuff_t *needle_tvb ,
8699                          gint const   haystack_offset ) ;   8699                          gint const   haystack_offset ) ;
8700 extern tvbuff_t *tvb_uncompress(tvbuff_t *tvb , int const   offset ,   8700 extern tvbuff_t *tvb_uncompress(tvbuff_t *tvb , int const   offset ,
8701                                 int comprlen ) ;   8701                                 int comprlen ) ;
8702 extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent , tvbuff_t *tvb ,   8702 extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent , tvbuff_t *tvb ,
8703                                       int const   offset , int comprlen ) ;   8703                                       int const   offset , int comprlen ) ;
8704 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,   8704 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,
8705                                                                                          __timezone_ptr_t __tz ) ;   8705                                                                                          __timezone_ptr_t __tz ) ;
8706 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,   8706 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,
8707                                                                                          struct timezone  const  *__tz ) ;   8707                                                                                          struct timezone  const  *__tz ) ;
8708 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,   8708 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,
8709                                                  struct timeval *__olddelta ) ;   8709                                                  struct timeval *__olddelta ) ;
8710 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,   8710 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,
8711                                                    struct itimerval *__value ) ;   8711                                                    struct itimerval *__value ) ;
8712 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,   8712 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,
8713                                                    struct itimerval  const  * __restrict  __new ,   8713                                                    struct itimerval  const  * __restrict  __new ,
8714                                                    struct itimerval * __restrict  __old ) ;   8714                                                    struct itimerval * __restrict  __old ) ;
8715 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,   8715 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,
8716                                                                                    struct timeval  const  *__tvp ) ;   8716                                                                                    struct timeval  const  *__tvp ) ;
8717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,   8717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,
8718                                                                                     struct timeval  const  *__tvp ) ;   8718                                                                                     struct timeval  const  *__tvp ) ;
8719 extern  __attribute__((__nothrow__)) int futimes(int __fd ,   8719 extern  __attribute__((__nothrow__)) int futimes(int __fd ,
8720                                                  struct timeval  const  *__tvp ) ;   8720                                                  struct timeval  const  *__tvp ) ;
8721 extern struct wtap *wtap_open_offline(char const   *filename , int *err ,   8721 extern struct wtap *wtap_open_offline(char const   *filename , int *err ,
8722                                       gchar **err_info , gboolean do_random ) ;   8722                                       gchar **err_info , gboolean do_random ) ;
8723 extern void wtap_cleareof(wtap *wth ) ;   8723 extern void wtap_cleareof(wtap *wth ) ;
8724 extern void wtap_set_cb_new_ipv4(wtap *wth ,   8724 extern void wtap_set_cb_new_ipv4(wtap *wth ,
8725                                  void (*add_new_ipv4)(guint const   addr ,   8725                                  void (*add_new_ipv4)(guint const   addr ,
8726                                                       gchar const   *name ) ) ;   8726                                                       gchar const   *name ) ) ;
8727 extern void wtap_set_cb_new_ipv6(wtap *wth ,   8727 extern void wtap_set_cb_new_ipv6(wtap *wth ,
8728                                  void (*add_new_ipv6)(void const   *addrp ,   8728                                  void (*add_new_ipv6)(void const   *addrp ,
8729                                                       gchar const   *name ) ) ;   8729                                                       gchar const   *name ) ) ;
8730 extern gboolean wtap_read(wtap *wth , int *err , gchar **err_info ,   8730 extern gboolean wtap_read(wtap *wth , int *err , gchar **err_info ,
8731                           gint64 *data_offset ) ;   8731                           gint64 *data_offset ) ;
8732 extern gboolean wtap_seek_read(wtap *wth , gint64 seek_off ,   8732 extern gboolean wtap_seek_read(wtap *wth , gint64 seek_off ,
8733                                union wtap_pseudo_header *pseudo_header ,   8733                                union wtap_pseudo_header *pseudo_header ,
8734                                guint8 *pd , int len , int *err ,   8734                                guint8 *pd , int len , int *err ,
8735                                gchar **err_info ) ;   8735                                gchar **err_info ) ;
8736 extern struct wtap_pkthdr *wtap_phdr(wtap *wth ) ;   8736 extern struct wtap_pkthdr *wtap_phdr(wtap *wth ) ;
8737 extern union wtap_pseudo_header *wtap_pseudoheader(wtap *wth ) ;   8737 extern union wtap_pseudo_header *wtap_pseudoheader(wtap *wth ) ;
8738 extern guint8 *wtap_buf_ptr(wtap *wth ) ;   8738 extern guint8 *wtap_buf_ptr(wtap *wth ) ;
8739 extern gint64 wtap_read_so_far(wtap *wth ) ;   8739 extern gint64 wtap_read_so_far(wtap *wth ) ;
8740 extern gint64 wtap_file_size(wtap *wth , int *err ) ;   8740 extern gint64 wtap_file_size(wtap *wth , int *err ) ;
8741 extern int wtap_snapshot_length(wtap *wth ) ;   8741 extern int wtap_snapshot_length(wtap *wth ) ;
8742 extern int wtap_file_type(wtap *wth ) ;   8742 extern int wtap_file_type(wtap *wth ) ;
8743 extern int wtap_file_encap(wtap *wth ) ;   8743 extern int wtap_file_encap(wtap *wth ) ;
8744 extern int wtap_file_tsprecision(wtap *wth ) ;   8744 extern int wtap_file_tsprecision(wtap *wth ) ;
8745 extern void wtap_sequential_close(wtap *wth ) ;   8745 extern void wtap_sequential_close(wtap *wth ) ;
8746 extern void wtap_close(wtap *wth ) ;   8746 extern void wtap_close(wtap *wth ) ;
8747 extern gboolean wtap_dump_can_open(int filetype ) ;   8747 extern gboolean wtap_dump_can_open(int filetype ) ;
8748 extern gboolean wtap_dump_can_write_encap(int filetype , int encap ) ;   8748 extern gboolean wtap_dump_can_write_encap(int filetype , int encap ) ;
8749 extern gboolean wtap_dump_can_compress(int filetype ) ;   8749 extern gboolean wtap_dump_can_compress(int filetype ) ;
8750 extern wtap_dumper *wtap_dump_open(char const   *filename , int filetype ,   8750 extern wtap_dumper *wtap_dump_open(char const   *filename , int filetype ,
8751                                    int encap , int snaplen ,   8751                                    int encap , int snaplen ,
8752                                    gboolean compressed , int *err ) ;   8752                                    gboolean compressed , int *err ) ;
8753 extern wtap_dumper *wtap_dump_fdopen(int fd , int filetype , int encap ,   8753 extern wtap_dumper *wtap_dump_fdopen(int fd , int filetype , int encap ,
8754                                      int snaplen , gboolean compressed ,   8754                                      int snaplen , gboolean compressed ,
8755                                      int *err ) ;   8755                                      int *err ) ;
8756 extern gboolean wtap_dump(wtap_dumper * , struct wtap_pkthdr  const  * ,   8756 extern gboolean wtap_dump(wtap_dumper * , struct wtap_pkthdr  const  * ,
8757                           union wtap_pseudo_header  const  *pseudo_header ,   8757                           union wtap_pseudo_header  const  *pseudo_header ,
8758                           guchar const   * , int *err ) ;   8758                           guchar const   * , int *err ) ;
8759 extern void wtap_dump_flush(wtap_dumper * ) ;   8759 extern void wtap_dump_flush(wtap_dumper * ) ;
8760 extern gint64 wtap_get_bytes_dumped(wtap_dumper * ) ;   8760 extern gint64 wtap_get_bytes_dumped(wtap_dumper * ) ;
8761 extern void wtap_set_bytes_dumped(wtap_dumper *wdh , gint64 bytes_dumped ) ;   8761 extern void wtap_set_bytes_dumped(wtap_dumper *wdh , gint64 bytes_dumped ) ;
8762 extern gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh ,   8762 extern gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh ,
8763                                             struct addrinfo *addrinfo_list ) ;   8763                                             struct addrinfo *addrinfo_list ) ;
8764 extern gboolean wtap_dump_close(wtap_dumper * , int * ) ;   8764 extern gboolean wtap_dump_close(wtap_dumper * , int * ) ;
8765 extern char const   *wtap_file_type_string(int filetype ) ;   8765 extern char const   *wtap_file_type_string(int filetype ) ;
8766 extern char const   *wtap_file_type_short_string(int filetype ) ;   8766 extern char const   *wtap_file_type_short_string(int filetype ) ;
8767 extern int wtap_short_string_to_file_type(char const   *short_name ) ;   8767 extern int wtap_short_string_to_file_type(char const   *short_name ) ;
8768 extern char const   *wtap_file_extensions_string(int filetype ) ;   8768 extern char const   *wtap_file_extensions_string(int filetype ) ;
8769 extern char const   *wtap_file_extension_default_string(int filetype ) ;   8769 extern char const   *wtap_file_extension_default_string(int filetype ) ;
8770 extern char const   *wtap_encap_string(int encap ) ;   8770 extern char const   *wtap_encap_string(int encap ) ;
8771 extern char const   *wtap_encap_short_string(int encap ) ;   8771 extern char const   *wtap_encap_short_string(int encap ) ;
8772 extern int wtap_short_string_to_encap(char const   *short_name ) ;   8772 extern int wtap_short_string_to_encap(char const   *short_name ) ;
8773 extern char const   *wtap_strerror(int err ) ;   8773 extern char const   *wtap_strerror(int err ) ;
8774 extern int wtap_get_num_encap_types(void) ;   8774 extern int wtap_get_num_encap_types(void) ;
8775 extern int wtap_get_num_file_types(void) ;   8775 extern int wtap_get_num_file_types(void) ;
8776 extern void wtap_register_open_routine(int (*)(struct wtap * , int * , char ** ) ,   8776 extern void wtap_register_open_routine(int (*)(struct wtap * , int * , char ** ) ,
8777                                        gboolean has_magic ) ;   8777                                        gboolean has_magic ) ;
8778 extern int wtap_register_file_type(struct file_type_info  const  *fi ) ;   8778 extern int wtap_register_file_type(struct file_type_info  const  *fi ) ;
8779 extern int wtap_register_encap_type(char *name , char *short_name ) ;   8779 extern int wtap_register_encap_type(char *name , char *short_name ) ;
8780 extern void nstime_set_zero(nstime_t *nstime ) ;   8780 extern void nstime_set_zero(nstime_t *nstime ) ;
8781 extern gboolean nstime_is_zero(nstime_t *nstime ) ;   8781 extern gboolean nstime_is_zero(nstime_t *nstime ) ;
8782 extern void nstime_set_unset(nstime_t *nstime ) ;   8782 extern void nstime_set_unset(nstime_t *nstime ) ;
8783 extern gboolean nstime_is_unset(nstime_t *nstime ) ;   8783 extern gboolean nstime_is_unset(nstime_t *nstime ) ;
8784 extern void nstime_delta(nstime_t *delta , nstime_t const   *b ,   8784 extern void nstime_delta(nstime_t *delta , nstime_t const   *b ,
8785                          nstime_t const   *a ) ;   8785                          nstime_t const   *a ) ;
8786 extern void nstime_sum(nstime_t *sum , nstime_t const   *b ,   8786 extern void nstime_sum(nstime_t *sum , nstime_t const   *b ,
8787                        nstime_t const   *a ) ;   8787                        nstime_t const   *a ) ;
8788 extern void nstime_diff(nstime_t *diff , nstime_t const   *b ,   8788 extern void nstime_diff(nstime_t *diff , nstime_t const   *b ,
8789                         nstime_t const   *a ) ;   8789                         nstime_t const   *a ) ;
8790 extern int nstime_cmp(nstime_t const   *a , nstime_t const   *b ) ;   8790 extern int nstime_cmp(nstime_t const   *a , nstime_t const   *b ) ;
8791 extern double nstime_to_msec(nstime_t const   *nstime ) ;   8791 extern double nstime_to_msec(nstime_t const   *nstime ) ;
8792 extern double nstime_to_sec(nstime_t const   *nstime ) ;   8792 extern double nstime_to_sec(nstime_t const   *nstime ) ;
8793 extern double wtap_nstime_to_sec(struct wtap_nstime  const  *nstime ) ;   8793 extern double wtap_nstime_to_sec(struct wtap_nstime  const  *nstime ) ;
8794 extern void p_add_proto_data(frame_data *fd , int proto , void *proto_data ) ;   8794 extern void p_add_proto_data(frame_data *fd , int proto , void *proto_data ) ;
8795 extern void *p_get_proto_data(frame_data *fd , int proto ) ;   8795 extern void *p_get_proto_data(frame_data *fd , int proto ) ;
8796 extern void p_remove_proto_data(frame_data *fd , int proto ) ;   8796 extern void p_remove_proto_data(frame_data *fd , int proto ) ;
8797 extern gint frame_data_compare(frame_data const   *fdata1 ,   8797 extern gint frame_data_compare(frame_data const   *fdata1 ,
8798                                frame_data const   *fdata2 , int field ) ;   8798                                frame_data const   *fdata2 , int field ) ;
8799 extern void frame_data_cleanup(frame_data *fdata ) ;   8799 extern void frame_data_cleanup(frame_data *fdata ) ;
8800 extern void frame_data_init(frame_data *fdata , guint32 num ,   8800 extern void frame_data_init(frame_data *fdata , guint32 num ,
8801                             struct wtap_pkthdr  const  *phdr , gint64 offset ,   8801                             struct wtap_pkthdr  const  *phdr , gint64 offset ,
8802                             guint32 cum_bytes ) ;   8802                             guint32 cum_bytes ) ;
8803 extern void frame_data_set_before_dissect(frame_data *fdata ,   8803 extern void frame_data_set_before_dissect(frame_data *fdata ,
8804                                           nstime_t *elapsed_time ,   8804                                           nstime_t *elapsed_time ,
8805                                           nstime_t *first_ts ,   8805                                           nstime_t *first_ts ,
8806                                           nstime_t *prev_dis_ts ,   8806                                           nstime_t *prev_dis_ts ,
8807                                           nstime_t *prev_cap_ts ) ;   8807                                           nstime_t *prev_cap_ts ) ;
8808 extern void frame_data_set_after_dissect(frame_data *fdata ,   8808 extern void frame_data_set_after_dissect(frame_data *fdata ,
8809                                          guint32 *cum_bytes ,   8809                                          guint32 *cum_bytes ,
8810                                          nstime_t *prev_dis_ts ) ;   8810                                          nstime_t *prev_dis_ts ) ;
8811 extern range_t *range_empty(void) ;   8811 extern range_t *range_empty(void) ;
8812 extern convert_ret_t range_convert_str(range_t **range , gchar const   *es ,   8812 extern convert_ret_t range_convert_str(range_t **range , gchar const   *es ,
8813                                        guint32 max_value ) ;   8813                                        guint32 max_value ) ;
8814 extern convert_ret_t range_convert_str_work(range_t **range ,   8814 extern convert_ret_t range_convert_str_work(range_t **range ,
8815                                             gchar const   *es ,   8815                                             gchar const   *es ,
8816                                             guint32 max_value ,   8816                                             guint32 max_value ,
8817                                             gboolean err_on_max ) ;   8817                                             gboolean err_on_max ) ;
8818 extern gboolean value_is_in_range(range_t *range , guint32 val ) ;   8818 extern gboolean value_is_in_range(range_t *range , guint32 val ) ;
8819 extern gboolean ranges_are_equal(range_t *a , range_t *b ) ;   8819 extern gboolean ranges_are_equal(range_t *a , range_t *b ) ;
8820 extern void range_foreach(range_t *range , void (*callback)(guint32 val ) ) ;   8820 extern void range_foreach(range_t *range , void (*callback)(guint32 val ) ) ;
8821 extern char *range_convert_range(range_t *range ) ;   8821 extern char *range_convert_range(range_t *range ) ;
8822 extern range_t *range_copy(range_t *src ) ;   8822 extern range_t *range_copy(range_t *src ) ;
8823 extern guint32 curr_selected_frame ;   8823 extern guint32 curr_selected_frame ;
8824 extern void packet_range_init(packet_range_t *range ) ;   8824 extern void packet_range_init(packet_range_t *range ) ;
8825 extern convert_ret_t packet_range_check(packet_range_t *range ) ;   8825 extern convert_ret_t packet_range_check(packet_range_t *range ) ;
8826 extern void packet_range_process_init(packet_range_t *range ) ;   8826 extern void packet_range_process_init(packet_range_t *range ) ;
8827 extern gboolean packet_range_process_all(packet_range_t *range ) ;   8827 extern gboolean packet_range_process_all(packet_range_t *range ) ;
8828 extern range_process_e packet_range_process_packet(packet_range_t *range ,   8828 extern range_process_e packet_range_process_packet(packet_range_t *range ,
8829                                                    frame_data *fdata ) ;   8829                                                    frame_data *fdata ) ;
8830 extern void packet_range_convert_str(packet_range_t *range , gchar const   *es ) ;   8830 extern void packet_range_convert_str(packet_range_t *range , gchar const   *es ) ;
8831 extern void register_all_protocols(void (*cb)(register_action_e action ,   8831 extern void register_all_protocols(void (*cb)(register_action_e action ,
8832                                               char const   *message ,   8832                                               char const   *message ,
8833                                               gpointer client_data ) ,   8833                                               gpointer client_data ) ,
8834                                    gpointer client_data ) ;   8834                                    gpointer client_data ) ;
8835 extern void register_all_protocol_handoffs(void (*cb)(register_action_e action ,   8835 extern void register_all_protocol_handoffs(void (*cb)(register_action_e action ,
8836                                                       char const   *message ,   8836                                                       char const   *message ,
8837                                                       gpointer client_data ) ,   8837                                                       gpointer client_data ) ,
8838                                            gpointer client_data ) ;   8838                                            gpointer client_data ) ;
8839 extern void register_all_tap_listeners(void) ;   8839 extern void register_all_tap_listeners(void) ;
8840 extern gulong register_count(void) ;   8840 extern gulong register_count(void) ;
8841 extern void epan_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,   8841 extern void epan_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,
8842                                                                      char const   *message ,   8842                                                                      char const   *message ,
8843                                                                      gpointer client_data ) ,   8843                                                                      gpointer client_data ) ,
8844                                                           gpointer client_data ) ,   8844                                                           gpointer client_data ) ,
8845                       void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,   8845                       void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,
8846                                                                     char const   *message ,   8846                                                                     char const   *message ,
8847                                                                     gpointer client_data ) ,   8847                                                                     gpointer client_data ) ,
8848                                                          gpointer client_data ) ,   8848                                                          gpointer client_data ) ,
8849                       void (*cb)(register_action_e action ,   8849                       void (*cb)(register_action_e action ,
8850                                  char const   *message , gpointer client_data ) ,   8850                                  char const   *message , gpointer client_data ) ,
8851                       void *client_data ,   8851                       void *client_data ,
8852                       void (*report_failure_fcn_p)(char const   * , va_list  ) ,   8852                       void (*report_failure_fcn_p)(char const   * , va_list  ) ,
8853                       void (*report_open_failure_fcn_p)(char const   * , int  ,   8853                       void (*report_open_failure_fcn_p)(char const   * , int  ,
8854                                                         gboolean  ) ,   8854                                                         gboolean  ) ,
8855                       void (*report_read_failure_fcn_p)(char const   * , int  ) ,   8855                       void (*report_read_failure_fcn_p)(char const   * , int  ) ,
8856                       void (*report_write_failure_fcn_p)(char const   * , int  ) ) ;   8856                       void (*report_write_failure_fcn_p)(char const   * , int  ) ) ;
8857 extern void epan_cleanup(void) ;   8857 extern void epan_cleanup(void) ;
8858 extern void epan_conversation_init(void) ;   8858 extern void epan_conversation_init(void) ;
8859 extern void epan_conversation_cleanup(void) ;   8859 extern void epan_conversation_cleanup(void) ;
8860 extern void epan_circuit_init(void) ;   8860 extern void epan_circuit_init(void) ;
8861 extern void epan_circuit_cleanup(void) ;   8861 extern void epan_circuit_cleanup(void) ;
8862 extern epan_t *epan_new(void) ;   8862 extern epan_t *epan_new(void) ;
8863 extern void epan_free(epan_t * ) ;   8863 extern void epan_free(epan_t * ) ;
8864 extern gchar *epan_get_version(void) ;   8864 extern gchar *epan_get_version(void) ;
8865 extern epan_dissect_t *epan_dissect_init(epan_dissect_t *edt ,   8865 extern epan_dissect_t *epan_dissect_init(epan_dissect_t *edt ,
8866                                          gboolean const   create_proto_tree ,   8866                                          gboolean const   create_proto_tree ,
8867                                          gboolean const   proto_tree_visible ) ;   8867                                          gboolean const   proto_tree_visible ) ;
8868 extern epan_dissect_t *epan_dissect_new(gboolean const   create_proto_tree ,   8868 extern epan_dissect_t *epan_dissect_new(gboolean const   create_proto_tree ,
8869                                         gboolean const   proto_tree_visible ) ;   8869                                         gboolean const   proto_tree_visible ) ;
8870 extern void epan_dissect_fake_protocols(epan_dissect_t *edt ,   8870 extern void epan_dissect_fake_protocols(epan_dissect_t *edt ,
8871                                         gboolean const   fake_protocols ) ;   8871                                         gboolean const   fake_protocols ) ;
8872 extern void epan_dissect_run(epan_dissect_t *edt , void *pseudo_header ,   8872 extern void epan_dissect_run(epan_dissect_t *edt , void *pseudo_header ,
8873                              guint8 const   *data , frame_data *fd ,   8873                              guint8 const   *data , frame_data *fd ,
8874                              column_info *cinfo ) ;   8874                              column_info *cinfo ) ;
8875 extern void epan_dissect_prime_dfilter(epan_dissect_t *edt ,   8875 extern void epan_dissect_prime_dfilter(epan_dissect_t *edt ,
8876                                        dfilter_t const   *dfcode ) ;   8876                                        dfilter_t const   *dfcode ) ;
8877 extern void epan_dissect_fill_in_columns(epan_dissect_t *edt ,   8877 extern void epan_dissect_fill_in_columns(epan_dissect_t *edt ,
8878                                          gboolean const   fill_col_exprs ,   8878                                          gboolean const   fill_col_exprs ,
8879                                          gboolean const   fill_fd_colums ) ;   8879                                          gboolean const   fill_fd_colums ) ;
8880 extern void epan_dissect_cleanup(epan_dissect_t *edt ) ;   8880 extern void epan_dissect_cleanup(epan_dissect_t *edt ) ;
8881 extern void epan_dissect_free(epan_dissect_t *edt ) ;   8881 extern void epan_dissect_free(epan_dissect_t *edt ) ;
8882 extern gchar const   *epan_custom_set(epan_dissect_t *edt , int id ,   8882 extern gchar const   *epan_custom_set(epan_dissect_t *edt , int id ,
8883                                       gint occurrence , gchar *result ,   8883                                       gint occurrence , gchar *result ,
8884                                       gchar *expr , int const   size ) ;   8884                                       gchar *expr , int const   size ) ;
8885 extern void epan_get_compiled_version_info(GString *str ) ;   8885 extern void epan_get_compiled_version_info(GString *str ) ;
8886 extern void epan_get_runtime_version_info(GString *str ) ;   8886 extern void epan_get_runtime_version_info(GString *str ) ;
8887 extern ipv4_addr *ipv4_addr_new(void) ;   8887 extern ipv4_addr *ipv4_addr_new(void) ;
8888 extern void ipv4_addr_free(ipv4_addr *ipv4 ) ;   8888 extern void ipv4_addr_free(ipv4_addr *ipv4 ) ;
8889 extern void ipv4_addr_set_host_order_addr(ipv4_addr *ipv4 ,   8889 extern void ipv4_addr_set_host_order_addr(ipv4_addr *ipv4 ,
8890                                           guint32 const   new_addr ) ;   8890                                           guint32 const   new_addr ) ;
8891 extern void ipv4_addr_set_net_order_addr(ipv4_addr *ipv4 ,   8891 extern void ipv4_addr_set_net_order_addr(ipv4_addr *ipv4 ,
8892                                          guint32 const   new_addr ) ;   8892                                          guint32 const   new_addr ) ;
8893 extern void ipv4_addr_set_netmask_bits(ipv4_addr *ipv4 ,   8893 extern void ipv4_addr_set_netmask_bits(ipv4_addr *ipv4 ,
8894                                        guint const   new_nmask_bits ) ;   8894                                        guint const   new_nmask_bits ) ;
8895 extern guint32 ipv4_get_net_order_addr(ipv4_addr *ipv4 ) ;   8895 extern guint32 ipv4_get_net_order_addr(ipv4_addr *ipv4 ) ;
8896 extern guint32 ipv4_get_host_order_addr(ipv4_addr *ipv4 ) ;   8896 extern guint32 ipv4_get_host_order_addr(ipv4_addr *ipv4 ) ;
8897 extern void ipv4_addr_str_buf(ipv4_addr const   *ipv4 , gchar *buf ) ;   8897 extern void ipv4_addr_str_buf(ipv4_addr const   *ipv4 , gchar *buf ) ;
8898 extern gboolean ipv4_addr_eq(ipv4_addr *a , ipv4_addr *b ) ;   8898 extern gboolean ipv4_addr_eq(ipv4_addr *a , ipv4_addr *b ) ;
8899 extern gboolean ipv4_addr_gt(ipv4_addr *a , ipv4_addr *b ) ;   8899 extern gboolean ipv4_addr_gt(ipv4_addr *a , ipv4_addr *b ) ;
8900 extern gboolean ipv4_addr_ge(ipv4_addr *a , ipv4_addr *b ) ;   8900 extern gboolean ipv4_addr_ge(ipv4_addr *a , ipv4_addr *b ) ;
8901 extern gboolean ipv4_addr_lt(ipv4_addr *a , ipv4_addr *b ) ;   8901 extern gboolean ipv4_addr_lt(ipv4_addr *a , ipv4_addr *b ) ;
8902 extern gboolean ipv4_addr_le(ipv4_addr *a , ipv4_addr *b ) ;   8902 extern gboolean ipv4_addr_le(ipv4_addr *a , ipv4_addr *b ) ;
8903 extern void emem_init(void) ;   8903 extern void emem_init(void) ;
8904 extern void *ep_alloc(size_t size )  __attribute__((__malloc__)) ;   8904 extern void *ep_alloc(size_t size )  __attribute__((__malloc__)) ;
8905 extern void *ep_alloc0(size_t size )  __attribute__((__malloc__)) ;   8905 extern void *ep_alloc0(size_t size )  __attribute__((__malloc__)) ;
8906 extern gchar *ep_strdup(gchar const   *src )  __attribute__((__malloc__)) ;   8906 extern gchar *ep_strdup(gchar const   *src )  __attribute__((__malloc__)) ;
8907 extern gchar *ep_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;   8907 extern gchar *ep_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;
8908 extern void *ep_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;   8908 extern void *ep_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;
8909 extern gchar *ep_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;   8909 extern gchar *ep_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;
8910 extern gchar *( /* format attribute */  ep_strdup_printf)(gchar const   *fmt   8910 extern gchar *( /* format attribute */  ep_strdup_printf)(gchar const   *fmt
8911                                                           , ...)  __attribute__((__malloc__)) ;   8911                                                           , ...)  __attribute__((__malloc__)) ;
8912 extern gchar *ep_strconcat(gchar const   *string  , ...)  __attribute__((__sentinel__,   8912 extern gchar *ep_strconcat(gchar const   *string  , ...)  __attribute__((__sentinel__,
8913 __malloc__)) ;   8913 __malloc__)) ;
8914 extern gchar **ep_strsplit(gchar const   *string , gchar const   *delimiter ,   8914 extern gchar **ep_strsplit(gchar const   *string , gchar const   *delimiter ,
8915                            int max_tokens ) ;   8915                            int max_tokens ) ;
8916 extern void ep_free_all(void) ;   8916 extern void ep_free_all(void) ;
8917 extern ep_stack_t ep_stack_new(void)  __attribute__((__malloc__)) ;   8917 extern ep_stack_t ep_stack_new(void)  __attribute__((__malloc__)) ;
8918 extern void *ep_stack_push(ep_stack_t stack , void *item ) ;   8918 extern void *ep_stack_push(ep_stack_t stack , void *item ) ;
8919 extern void *ep_stack_pop(ep_stack_t stack ) ;   8919 extern void *ep_stack_pop(ep_stack_t stack ) ;
8920 extern void *se_alloc(size_t size )  __attribute__((__malloc__)) ;   8920 extern void *se_alloc(size_t size )  __attribute__((__malloc__)) ;
8921 extern void *se_alloc0(size_t size )  __attribute__((__malloc__)) ;   8921 extern void *se_alloc0(size_t size )  __attribute__((__malloc__)) ;
8922 extern gchar *se_strdup(gchar const   *src )  __attribute__((__malloc__)) ;   8922 extern gchar *se_strdup(gchar const   *src )  __attribute__((__malloc__)) ;
8923 extern gchar *se_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;   8923 extern gchar *se_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;
8924 extern void *se_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;   8924 extern void *se_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;
8925 extern gchar *se_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;   8925 extern gchar *se_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;
8926 extern gchar *( /* format attribute */  se_strdup_printf)(gchar const   *fmt   8926 extern gchar *( /* format attribute */  se_strdup_printf)(gchar const   *fmt
8927                                                           , ...)  __attribute__((__malloc__)) ;   8927                                                           , ...)  __attribute__((__malloc__)) ;
8928 extern void se_free_all(void) ;   8928 extern void se_free_all(void) ;
8929 extern void *sl_alloc(struct ws_memory_slab *mem_chunk ) ;   8929 extern void *sl_alloc(struct ws_memory_slab *mem_chunk ) ;
8930 extern void *sl_alloc0(struct ws_memory_slab *mem_chunk ) ;   8930 extern void *sl_alloc0(struct ws_memory_slab *mem_chunk ) ;
8931 extern void sl_free(struct ws_memory_slab *mem_chunk , gpointer ptr ) ;   8931 extern void sl_free(struct ws_memory_slab *mem_chunk , gpointer ptr ) ;
8932 extern void sl_free_all(struct ws_memory_slab *mem_chunk ) ;   8932 extern void sl_free_all(struct ws_memory_slab *mem_chunk ) ;
8933 extern emem_tree_t *se_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;   8933 extern emem_tree_t *se_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;
8934 extern emem_tree_t *se_tree_create_non_persistent(int type , char const   *name )  __attribute__((__malloc__)) ;   8934 extern emem_tree_t *se_tree_create_non_persistent(int type , char const   *name )  __attribute__((__malloc__)) ;
8935 extern emem_tree_t *pe_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;   8935 extern emem_tree_t *pe_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;
8936 extern void emem_tree_insert32(emem_tree_t *se_tree , guint32 key , void *data ) ;   8936 extern void emem_tree_insert32(emem_tree_t *se_tree , guint32 key , void *data ) ;
8937 extern void *emem_tree_lookup32(emem_tree_t *se_tree , guint32 key ) ;   8937 extern void *emem_tree_lookup32(emem_tree_t *se_tree , guint32 key ) ;
8938 extern void *emem_tree_lookup32_le(emem_tree_t *se_tree , guint32 key ) ;   8938 extern void *emem_tree_lookup32_le(emem_tree_t *se_tree , guint32 key ) ;
8939 extern void emem_tree_insert32_array(emem_tree_t *se_tree ,   8939 extern void emem_tree_insert32_array(emem_tree_t *se_tree ,
8940                                      emem_tree_key_t *key , void *data ) ;   8940                                      emem_tree_key_t *key , void *data ) ;
8941 extern void *emem_tree_lookup32_array(emem_tree_t *se_tree ,   8941 extern void *emem_tree_lookup32_array(emem_tree_t *se_tree ,
8942                                       emem_tree_key_t *key ) ;   8942                                       emem_tree_key_t *key ) ;
8943 extern void *emem_tree_lookup32_array_le(emem_tree_t *se_tree ,   8943 extern void *emem_tree_lookup32_array_le(emem_tree_t *se_tree ,
8944                                          emem_tree_key_t *key ) ;   8944                                          emem_tree_key_t *key ) ;
8945 extern void emem_tree_insert_string(emem_tree_t *h , gchar const   *k ,   8945 extern void emem_tree_insert_string(emem_tree_t *h , gchar const   *k ,
8946                                     void *v , guint32 flags ) ;   8946                                     void *v , guint32 flags ) ;
8947 extern void *emem_tree_lookup_string(emem_tree_t *h , gchar const   *k ,   8947 extern void *emem_tree_lookup_string(emem_tree_t *h , gchar const   *k ,
8948                                      guint32 flags ) ;   8948                                      guint32 flags ) ;
8949 extern gboolean emem_tree_foreach(emem_tree_t *emem_tree ,   8949 extern gboolean emem_tree_foreach(emem_tree_t *emem_tree ,
8950                                   gboolean (*callback)(void *value ,   8950                                   gboolean (*callback)(void *value ,
8951                                                        void *userdata ) ,   8951                                                        void *userdata ) ,
8952                                   void *user_data ) ;   8952                                   void *user_data ) ;
8953 extern emem_strbuf_t *ep_strbuf_new(gchar const   *init )  __attribute__((__malloc__)) ;   8953 extern emem_strbuf_t *ep_strbuf_new(gchar const   *init )  __attribute__((__malloc__)) ;
8954 extern emem_strbuf_t *ep_strbuf_new_label(gchar const   *init )  __attribute__((__malloc__)) ;   8954 extern emem_strbuf_t *ep_strbuf_new_label(gchar const   *init )  __attribute__((__malloc__)) ;
8955 extern emem_strbuf_t *ep_strbuf_sized_new(gsize alloc_len , gsize max_alloc_len )  __attribute__((__malloc__)) ;   8955 extern emem_strbuf_t *ep_strbuf_sized_new(gsize alloc_len , gsize max_alloc_len )  __attribute__((__malloc__)) ;
8956 extern void ep_strbuf_append_vprintf(emem_strbuf_t *strbuf ,   8956 extern void ep_strbuf_append_vprintf(emem_strbuf_t *strbuf ,
8957                                      gchar const   *format , va_list ap ) ;   8957                                      gchar const   *format , va_list ap ) ;
8958 extern void ( /* format attribute */  ep_strbuf_printf)(emem_strbuf_t *strbuf ,   8958 extern void ( /* format attribute */  ep_strbuf_printf)(emem_strbuf_t *strbuf ,
8959                                                         gchar const   *format   8959                                                         gchar const   *format
8960                                                         , ...) ;   8960                                                         , ...) ;
8961 extern void ( /* format attribute */  ep_strbuf_append_printf)(emem_strbuf_t *strbuf ,   8961 extern void ( /* format attribute */  ep_strbuf_append_printf)(emem_strbuf_t *strbuf ,
8962                                                                gchar const   *format   8962                                                                gchar const   *format
8963                                                                , ...) ;   8963                                                                , ...) ;
8964 extern emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf ,   8964 extern emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf ,
8965                                        gchar const   *str ) ;   8965                                        gchar const   *str ) ;
8966 extern emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf ,   8966 extern emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf ,
8967                                          gchar const   c ) ;   8967                                          gchar const   c ) ;
8968 extern emem_strbuf_t *ep_strbuf_truncate(emem_strbuf_t *strbuf , gsize len ) ;   8968 extern emem_strbuf_t *ep_strbuf_truncate(emem_strbuf_t *strbuf , gsize len ) ;
8969 extern void emem_print_tree(emem_tree_t *emem_tree ) ;   8969 extern void emem_print_tree(emem_tree_t *emem_tree ) ;
8970 extern gboolean ep_verify_pointer(void const   *ptr ) ;   8970 extern gboolean ep_verify_pointer(void const   *ptr ) ;
8971 extern gboolean se_verify_pointer(void const   *ptr ) ;   8971 extern gboolean se_verify_pointer(void const   *ptr ) ;
8972 extern void ftypes_initialize(void) ;   8972 extern void ftypes_initialize(void) ;
8973 extern char const   *ftype_name(ftenum_t ftype ) ;   8973 extern char const   *ftype_name(ftenum_t ftype ) ;
8974 extern char const   *ftype_pretty_name(ftenum_t ftype ) ;   8974 extern char const   *ftype_pretty_name(ftenum_t ftype ) ;
8975 extern int ftype_length(ftenum_t ftype ) ;   8975 extern int ftype_length(ftenum_t ftype ) ;
8976 extern gboolean ftype_can_slice(enum ftenum ftype ) ;   8976 extern gboolean ftype_can_slice(enum ftenum ftype ) ;
8977 extern gboolean ftype_can_eq(enum ftenum ftype ) ;   8977 extern gboolean ftype_can_eq(enum ftenum ftype ) ;
8978 extern gboolean ftype_can_ne(enum ftenum ftype ) ;   8978 extern gboolean ftype_can_ne(enum ftenum ftype ) ;
8979 extern gboolean ftype_can_gt(enum ftenum ftype ) ;   8979 extern gboolean ftype_can_gt(enum ftenum ftype ) ;
8980 extern gboolean ftype_can_ge(enum ftenum ftype ) ;   8980 extern gboolean ftype_can_ge(enum ftenum ftype ) ;
8981 extern gboolean ftype_can_lt(enum ftenum ftype ) ;   8981 extern gboolean ftype_can_lt(enum ftenum ftype ) ;
8982 extern gboolean ftype_can_le(enum ftenum ftype ) ;   8982 extern gboolean ftype_can_le(enum ftenum ftype ) ;
8983 extern gboolean ftype_can_bitwise_and(enum ftenum ftype ) ;   8983 extern gboolean ftype_can_bitwise_and(enum ftenum ftype ) ;
8984 extern gboolean ftype_can_contains(enum ftenum ftype ) ;   8984 extern gboolean ftype_can_contains(enum ftenum ftype ) ;
8985 extern gboolean ftype_can_matches(enum ftenum ftype ) ;   8985 extern gboolean ftype_can_matches(enum ftenum ftype ) ;
8986 extern drange_node *drange_node_new(void) ;   8986 extern drange_node *drange_node_new(void) ;
8987 extern void drange_node_free(drange_node *drnode ) ;   8987 extern void drange_node_free(drange_node *drnode ) ;
8988 extern void drange_node_free_list(GSList *list ) ;   8988 extern void drange_node_free_list(GSList *list ) ;
8989 extern gint drange_node_get_start_offset(drange_node *drnode ) ;   8989 extern gint drange_node_get_start_offset(drange_node *drnode ) ;
8990 extern gint drange_node_get_length(drange_node *drnode ) ;   8990 extern gint drange_node_get_length(drange_node *drnode ) ;
8991 extern gint drange_node_get_end_offset(drange_node *drnode ) ;   8991 extern gint drange_node_get_end_offset(drange_node *drnode ) ;
8992 extern drange_node_end_t drange_node_get_ending(drange_node *drnode ) ;   8992 extern drange_node_end_t drange_node_get_ending(drange_node *drnode ) ;
8993 extern void drange_node_set_start_offset(drange_node *drnode , gint offset ) ;   8993 extern void drange_node_set_start_offset(drange_node *drnode , gint offset ) ;
8994 extern void drange_node_set_length(drange_node *drnode , gint length ) ;   8994 extern void drange_node_set_length(drange_node *drnode , gint length ) ;
8995 extern void drange_node_set_end_offset(drange_node *drnode , gint offset ) ;   8995 extern void drange_node_set_end_offset(drange_node *drnode , gint offset ) ;
8996 extern void drange_node_set_to_the_end(drange_node *drnode ) ;   8996 extern void drange_node_set_to_the_end(drange_node *drnode ) ;
8997 extern drange *drange_new(void) ;   8997 extern drange *drange_new(void) ;
8998 extern drange *drange_new_from_list(GSList *list ) ;   8998 extern drange *drange_new_from_list(GSList *list ) ;
8999 extern void drange_free(drange *dr ) ;   8999 extern void drange_free(drange *dr ) ;
9000 extern gboolean drange_has_total_length(drange *dr ) ;   9000 extern gboolean drange_has_total_length(drange *dr ) ;
9001 extern gint drange_get_total_length(drange *dr ) ;   9001 extern gint drange_get_total_length(drange *dr ) ;
9002 extern gint drange_get_min_start_offset(drange *dr ) ;   9002 extern gint drange_get_min_start_offset(drange *dr ) ;
9003 extern gint drange_get_max_start_offset(drange *dr ) ;   9003 extern gint drange_get_max_start_offset(drange *dr ) ;
9004 extern void drange_append_drange_node(drange *dr , drange_node *drnode ) ;   9004 extern void drange_append_drange_node(drange *dr , drange_node *drnode ) ;
9005 extern void drange_prepend_drange_node(drange *dr , drange_node *drnode ) ;   9005 extern void drange_prepend_drange_node(drange *dr , drange_node *drnode ) ;
9006 extern void drange_foreach_drange_node(drange *dr ,   9006 extern void drange_foreach_drange_node(drange *dr ,
9007                                        void (*func)(gpointer data ,   9007                                        void (*func)(gpointer data ,
9008                                                     gpointer user_data ) ,   9008                                                     gpointer user_data ) ,
9009                                        gpointer funcdata ) ;   9009                                        gpointer funcdata ) ;
9010 extern fvalue_t *fvalue_new(ftenum_t ftype ) ;   9010 extern fvalue_t *fvalue_new(ftenum_t ftype ) ;
9011 extern void fvalue_init(fvalue_t *fv , ftenum_t ftype ) ;   9011 extern void fvalue_init(fvalue_t *fv , ftenum_t ftype ) ;
9012 extern struct ws_memory_slab fvalue_t_slab ;   9012 extern struct ws_memory_slab fvalue_t_slab ;
9013 extern fvalue_t *fvalue_from_unparsed(ftenum_t ftype , char *s ,   9013 extern fvalue_t *fvalue_from_unparsed(ftenum_t ftype , char *s ,
9014                                       gboolean allow_partial_value ,   9014                                       gboolean allow_partial_value ,
9015                                       void (*logfunc)(char const   *  , ...) ) ;   9015                                       void (*logfunc)(char const   *  , ...) ) ;
9016 extern fvalue_t *fvalue_from_string(ftenum_t ftype , char *s ,   9016 extern fvalue_t *fvalue_from_string(ftenum_t ftype , char *s ,
9017                                     void (*logfunc)(char const   *  , ...) ) ;   9017                                     void (*logfunc)(char const   *  , ...) ) ;
9018 extern int fvalue_string_repr_len(fvalue_t *fv , ftrepr_t rtype ) ;   9018 extern int fvalue_string_repr_len(fvalue_t *fv , ftrepr_t rtype ) ;
9019 extern char *fvalue_to_string_repr(fvalue_t *fv , ftrepr_t rtype , char *buf ) ;   9019 extern char *fvalue_to_string_repr(fvalue_t *fv , ftrepr_t rtype , char *buf ) ;
9020 extern ftype_t *fvalue_ftype(fvalue_t *fv ) ;   9020 extern ftype_t *fvalue_ftype(fvalue_t *fv ) ;
9021 extern char const   *fvalue_type_name(fvalue_t *fv ) ;   9021 extern char const   *fvalue_type_name(fvalue_t *fv ) ;
9022 extern void fvalue_set(fvalue_t *fv , gpointer value , gboolean already_copied ) ;   9022 extern void fvalue_set(fvalue_t *fv , gpointer value , gboolean already_copied ) ;
9023 extern void fvalue_set_uinteger(fvalue_t *fv , guint32 value ) ;   9023 extern void fvalue_set_uinteger(fvalue_t *fv , guint32 value ) ;
9024 extern void fvalue_set_sinteger(fvalue_t *fv , gint32 value ) ;   9024 extern void fvalue_set_sinteger(fvalue_t *fv , gint32 value ) ;
9025 extern void fvalue_set_integer64(fvalue_t *fv , guint64 value ) ;   9025 extern void fvalue_set_integer64(fvalue_t *fv , guint64 value ) ;
9026 extern void fvalue_set_floating(fvalue_t *fv , gdouble value ) ;   9026 extern void fvalue_set_floating(fvalue_t *fv , gdouble value ) ;
9027 extern gpointer fvalue_get(fvalue_t *fv ) ;   9027 extern gpointer fvalue_get(fvalue_t *fv ) ;
9028 extern guint32 fvalue_get_uinteger(fvalue_t *fv ) ;   9028 extern guint32 fvalue_get_uinteger(fvalue_t *fv ) ;
9029 extern gint32 fvalue_get_sinteger(fvalue_t *fv ) ;   9029 extern gint32 fvalue_get_sinteger(fvalue_t *fv ) ;
9030 extern guint64 fvalue_get_integer64(fvalue_t *fv ) ;   9030 extern guint64 fvalue_get_integer64(fvalue_t *fv ) ;
9031 extern double fvalue_get_floating(fvalue_t *fv ) ;   9031 extern double fvalue_get_floating(fvalue_t *fv ) ;
9032 extern gboolean fvalue_eq(fvalue_t *a , fvalue_t *b ) ;   9032 extern gboolean fvalue_eq(fvalue_t *a , fvalue_t *b ) ;
9033 extern gboolean fvalue_ne(fvalue_t *a , fvalue_t *b ) ;   9033 extern gboolean fvalue_ne(fvalue_t *a , fvalue_t *b ) ;
9034 extern gboolean fvalue_gt(fvalue_t *a , fvalue_t *b ) ;   9034 extern gboolean fvalue_gt(fvalue_t *a , fvalue_t *b ) ;
9035 extern gboolean fvalue_ge(fvalue_t *a , fvalue_t *b ) ;   9035 extern gboolean fvalue_ge(fvalue_t *a , fvalue_t *b ) ;
9036 extern gboolean fvalue_lt(fvalue_t *a , fvalue_t *b ) ;   9036 extern gboolean fvalue_lt(fvalue_t *a , fvalue_t *b ) ;
9037 extern gboolean fvalue_le(fvalue_t *a , fvalue_t *b ) ;   9037 extern gboolean fvalue_le(fvalue_t *a , fvalue_t *b ) ;
9038 extern gboolean fvalue_bitwise_and(fvalue_t *a , fvalue_t *b ) ;   9038 extern gboolean fvalue_bitwise_and(fvalue_t *a , fvalue_t *b ) ;
9039 extern gboolean fvalue_contains(fvalue_t *a , fvalue_t *b ) ;   9039 extern gboolean fvalue_contains(fvalue_t *a , fvalue_t *b ) ;
9040 extern gboolean fvalue_matches(fvalue_t *a , fvalue_t *b ) ;   9040 extern gboolean fvalue_matches(fvalue_t *a , fvalue_t *b ) ;
9041 extern guint fvalue_length(fvalue_t *fv ) ;   9041 extern guint fvalue_length(fvalue_t *fv ) ;
9042 extern fvalue_t *fvalue_slice(fvalue_t *fv , drange *dr ) ;   9042 extern fvalue_t *fvalue_slice(fvalue_t *fv , drange *dr ) ;
9043 extern int hf_text_only ;   9043 extern int hf_text_only ;
9044 extern gboolean proto_tree_traverse_post_order(proto_tree *tree ,   9044 extern gboolean proto_tree_traverse_post_order(proto_tree *tree ,
9045                                                gboolean (*func)(proto_node * ,   9045                                                gboolean (*func)(proto_node * ,
9046                                                                 gpointer  ) ,   9046                                                                 gpointer  ) ,
9047                                                gpointer data ) ;   9047                                                gpointer data ) ;
9048 extern void proto_tree_children_foreach(proto_tree *tree ,   9048 extern void proto_tree_children_foreach(proto_tree *tree ,
9049                                         void (*func)(proto_node * , gpointer  ) ,   9049                                         void (*func)(proto_node * , gpointer  ) ,
9050                                         gpointer data ) ;   9050                                         gpointer data ) ;
9051 extern void proto_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,   9051 extern void proto_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,
9052                                                                       char const   *message ,   9052                                                                       char const   *message ,
9053                                                                       gpointer client_data ) ,   9053                                                                       gpointer client_data ) ,
9054                                                            gpointer client_data ) ,   9054                                                            gpointer client_data ) ,
9055                        void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,   9055                        void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,
9056                                                                      char const   *message ,   9056                                                                      char const   *message ,
9057                                                                      gpointer client_data ) ,   9057                                                                      gpointer client_data ) ,
9058                                                           gpointer client_data ) ,   9058                                                           gpointer client_data ) ,
9059                        void (*cb)(register_action_e action ,   9059                        void (*cb)(register_action_e action ,
9060                                   char const   *message , gpointer client_data ) ,   9060                                   char const   *message , gpointer client_data ) ,
9061                        void *client_data ) ;   9061                        void *client_data ) ;
9062 extern void proto_cleanup(void) ;   9062 extern void proto_cleanup(void) ;
9063 extern gboolean proto_field_is_referenced(proto_tree *tree , int proto_id ) ;   9063 extern gboolean proto_field_is_referenced(proto_tree *tree , int proto_id ) ;
9064 extern proto_tree *( __attribute__((__warn_unused_result__)) proto_item_add_subtree)(proto_item *ti ,   9064 extern proto_tree *( __attribute__((__warn_unused_result__)) proto_item_add_subtree)(proto_item *ti ,
9065                                                                                      gint const   idx ) ;   9065                                                                                      gint const   idx ) ;
9066 extern proto_tree *proto_item_get_subtree(proto_item const   *ti ) ;   9066 extern proto_tree *proto_item_get_subtree(proto_item const   *ti ) ;
9067 extern proto_item *proto_item_get_parent(proto_item const   *ti ) ;   9067 extern proto_item *proto_item_get_parent(proto_item const   *ti ) ;
9068 extern proto_item *proto_item_get_parent_nth(proto_item *ti , int gen ) ;   9068 extern proto_item *proto_item_get_parent_nth(proto_item *ti , int gen ) ;
9069 extern void ( /* format attribute */  proto_item_set_text)(proto_item *ti ,   9069 extern void ( /* format attribute */  proto_item_set_text)(proto_item *ti ,
9070                                                            char const   *format   9070                                                            char const   *format
9071                                                            , ...) ;   9071                                                            , ...) ;
9072 extern void ( /* format attribute */  proto_item_append_text)(proto_item *ti ,   9072 extern void ( /* format attribute */  proto_item_append_text)(proto_item *ti ,
9073                                                               char const   *format   9073                                                               char const   *format
9074                                                               , ...) ;   9074                                                               , ...) ;
9075 extern void ( /* format attribute */  proto_item_prepend_text)(proto_item *ti ,   9075 extern void ( /* format attribute */  proto_item_prepend_text)(proto_item *ti ,
9076                                                                char const   *format   9076                                                                char const   *format
9077                                                                , ...) ;   9077                                                                , ...) ;
9078 extern void proto_item_set_len(proto_item *ti , gint const   length ) ;   9078 extern void proto_item_set_len(proto_item *ti , gint const   length ) ;
9079 extern void proto_item_set_end(proto_item *ti , tvbuff_t *tvb , gint end ) ;   9079 extern void proto_item_set_end(proto_item *ti , tvbuff_t *tvb , gint end ) ;
9080 extern int proto_item_get_len(proto_item const   *ti ) ;   9080 extern int proto_item_get_len(proto_item const   *ti ) ;
9081 extern gboolean proto_item_set_expert_flags(proto_item *ti , int const   group ,   9081 extern gboolean proto_item_set_expert_flags(proto_item *ti , int const   group ,
9082                                             guint const   severity ) ;   9082                                             guint const   severity ) ;
9083 extern proto_tree *proto_tree_create_root(void) ;   9083 extern proto_tree *proto_tree_create_root(void) ;
9084 extern void proto_tree_free(proto_tree *tree ) ;   9084 extern void proto_tree_free(proto_tree *tree ) ;
9085 extern gboolean proto_tree_set_visible(proto_tree *tree , gboolean visible ) ;   9085 extern gboolean proto_tree_set_visible(proto_tree *tree , gboolean visible ) ;
9086 extern void proto_tree_set_fake_protocols(proto_tree *tree ,   9086 extern void proto_tree_set_fake_protocols(proto_tree *tree ,
9087                                           gboolean fake_protocols ) ;   9087                                           gboolean fake_protocols ) ;
9088 extern void proto_tree_prime_hfid(proto_tree *tree , int const   hfid ) ;   9088 extern void proto_tree_prime_hfid(proto_tree *tree , int const   hfid ) ;
9089 extern proto_item *proto_tree_get_parent(proto_tree const   *tree ) ;   9089 extern proto_item *proto_tree_get_parent(proto_tree const   *tree ) ;
9090 extern proto_tree *proto_tree_get_root(proto_tree *tree ) ;   9090 extern proto_tree *proto_tree_get_root(proto_tree *tree ) ;
9091 extern void proto_tree_move_item(proto_tree *tree , proto_item *fixed_item ,   9091 extern void proto_tree_move_item(proto_tree *tree , proto_item *fixed_item ,
9092                                  proto_item *item_to_move ) ;   9092                                  proto_item *item_to_move ) ;
9093 extern void proto_tree_set_appendix(proto_tree *tree , tvbuff_t *tvb ,   9093 extern void proto_tree_set_appendix(proto_tree *tree , tvbuff_t *tvb ,
9094                                     gint start , gint const   length ) ;   9094                                     gint start , gint const   length ) ;
9095 extern proto_item *proto_tree_add_item(proto_tree *tree , int const   hfindex ,   9095 extern proto_item *proto_tree_add_item(proto_tree *tree , int const   hfindex ,
9096                                        tvbuff_t *tvb , gint const   start ,   9096                                        tvbuff_t *tvb , gint const   start ,
9097                                        gint length , guint const   encoding ) ;   9097                                        gint length , guint const   encoding ) ;
9098 extern proto_item *( /* format attribute */  proto_tree_add_text)(proto_tree *tree ,   9098 extern proto_item *( /* format attribute */  proto_tree_add_text)(proto_tree *tree ,
9099                                                                   tvbuff_t *tvb ,   9099                                                                   tvbuff_t *tvb ,
9100                                                                   gint start ,   9100                                                                   gint start ,
9101                                                                   gint length ,   9101                                                                   gint length ,
9102                                                                   char const   *format   9102                                                                   char const   *format
9103                                                                   , ...) ;   9103                                                                   , ...) ;
9104 extern proto_item *proto_tree_add_text_valist(proto_tree *tree , tvbuff_t *tvb ,   9104 extern proto_item *proto_tree_add_text_valist(proto_tree *tree , tvbuff_t *tvb ,
9105                                               gint start , gint length ,   9105                                               gint start , gint length ,
9106                                               char const   *format , va_list ap ) ;   9106                                               char const   *format , va_list ap ) ;
9107 extern proto_item *( /* format attribute */  proto_tree_add_none_format)(proto_tree *tree ,   9107 extern proto_item *( /* format attribute */  proto_tree_add_none_format)(proto_tree *tree ,
9108                                                                          int const   hfindex ,   9108                                                                          int const   hfindex ,
9109                                                                          tvbuff_t *tvb ,   9109                                                                          tvbuff_t *tvb ,
9110                                                                          gint const   start ,   9110                                                                          gint const   start ,
9111                                                                          gint length ,   9111                                                                          gint length ,
9112                                                                          char const   *format   9112                                                                          char const   *format
9113                                                                          , ...) ;   9113                                                                          , ...) ;
9114 extern proto_item *( /* format attribute */  proto_tree_add_protocol_format)(proto_tree *tree ,   9114 extern proto_item *( /* format attribute */  proto_tree_add_protocol_format)(proto_tree *tree ,
9115                                                                              int hfindex ,   9115                                                                              int hfindex ,
9116                                                                              tvbuff_t *tvb ,   9116                                                                              tvbuff_t *tvb ,
9117                                                                              gint start ,   9117                                                                              gint start ,
9118                                                                              gint length ,   9118                                                                              gint length ,
9119                                                                              char const   *format   9119                                                                              char const   *format
9120                                                                              , ...) ;   9120                                                                              , ...) ;
9121 extern proto_item *proto_tree_add_bytes(proto_tree *tree , int hfindex ,   9121 extern proto_item *proto_tree_add_bytes(proto_tree *tree , int hfindex ,
9122                                         tvbuff_t *tvb , gint start ,   9122                                         tvbuff_t *tvb , gint start ,
9123                                         gint length , guint8 const   *start_ptr ) ;   9123                                         gint length , guint8 const   *start_ptr ) ;
9124 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format_value)(proto_tree *tree ,   9124 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format_value)(proto_tree *tree ,
9125                                                                                 int hfindex ,   9125                                                                                 int hfindex ,
9126                                                                                 tvbuff_t *tvb ,   9126                                                                                 tvbuff_t *tvb ,
9127                                                                                 gint start ,   9127                                                                                 gint start ,
9128                                                                                 gint length ,   9128                                                                                 gint length ,
9129                                                                                 guint8 const   *start_ptr ,   9129                                                                                 guint8 const   *start_ptr ,
9130                                                                                 char const   *format   9130                                                                                 char const   *format
9131                                                                                 , ...) ;   9131                                                                                 , ...) ;
9132 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format)(proto_tree *tree ,   9132 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format)(proto_tree *tree ,
9133                                                                           int hfindex ,   9133                                                                           int hfindex ,
9134                                                                           tvbuff_t *tvb ,   9134                                                                           tvbuff_t *tvb ,
9135                                                                           gint start ,   9135                                                                           gint start ,
9136                                                                           gint length ,   9136                                                                           gint length ,
9137                                                                           guint8 const   *start_ptr ,   9137                                                                           guint8 const   *start_ptr ,
9138                                                                           char const   *format   9138                                                                           char const   *format
9139                                                                           , ...) ;   9139                                                                           , ...) ;
9140 extern proto_item *proto_tree_add_time(proto_tree *tree , int hfindex ,   9140 extern proto_item *proto_tree_add_time(proto_tree *tree , int hfindex ,
9141                                        tvbuff_t *tvb , gint start ,   9141                                        tvbuff_t *tvb , gint start ,
9142                                        gint length , nstime_t *value_ptr ) ;   9142                                        gint length , nstime_t *value_ptr ) ;
9143 extern proto_item *( /* format attribute */  proto_tree_add_time_format_value)(proto_tree *tree ,   9143 extern proto_item *( /* format attribute */  proto_tree_add_time_format_value)(proto_tree *tree ,
9144                                                                                int hfindex ,   9144                                                                                int hfindex ,
9145                                                                                tvbuff_t *tvb ,   9145                                                                                tvbuff_t *tvb ,
9146                                                                                gint start ,   9146                                                                                gint start ,
9147                                                                                gint length ,   9147                                                                                gint length ,
9148                                                                                nstime_t *value_ptr ,   9148                                                                                nstime_t *value_ptr ,
9149                                                                                char const   *format   9149                                                                                char const   *format
9150                                                                                , ...) ;   9150                                                                                , ...) ;
9151 extern proto_item *( /* format attribute */  proto_tree_add_time_format)(proto_tree *tree ,   9151 extern proto_item *( /* format attribute */  proto_tree_add_time_format)(proto_tree *tree ,
9152                                                                          int hfindex ,   9152                                                                          int hfindex ,
9153                                                                          tvbuff_t *tvb ,   9153                                                                          tvbuff_t *tvb ,
9154                                                                          gint start ,   9154                                                                          gint start ,
9155                                                                          gint length ,   9155                                                                          gint length ,
9156                                                                          nstime_t *value_ptr ,   9156                                                                          nstime_t *value_ptr ,
9157                                                                          char const   *format   9157                                                                          char const   *format
9158                                                                          , ...) ;   9158                                                                          , ...) ;
9159 extern proto_item *proto_tree_add_ipxnet(proto_tree *tree , int hfindex ,   9159 extern proto_item *proto_tree_add_ipxnet(proto_tree *tree , int hfindex ,
9160                                          tvbuff_t *tvb , gint start ,   9160                                          tvbuff_t *tvb , gint start ,
9161                                          gint length , guint32 value ) ;   9161                                          gint length , guint32 value ) ;
9162 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format_value)(proto_tree *tree ,   9162 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format_value)(proto_tree *tree ,
9163                                                                                  int hfindex ,   9163                                                                                  int hfindex ,
9164                                                                                  tvbuff_t *tvb ,   9164                                                                                  tvbuff_t *tvb ,
9165                                                                                  gint start ,   9165                                                                                  gint start ,
9166                                                                                  gint length ,   9166                                                                                  gint length ,
9167                                                                                  guint32 value ,   9167                                                                                  guint32 value ,
9168                                                                                  char const   *format   9168                                                                                  char const   *format
9169                                                                                  , ...) ;   9169                                                                                  , ...) ;
9170 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format)(proto_tree *tree ,   9170 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format)(proto_tree *tree ,
9171                                                                            int hfindex ,   9171                                                                            int hfindex ,
9172                                                                            tvbuff_t *tvb ,   9172                                                                            tvbuff_t *tvb ,
9173                                                                            gint start ,   9173                                                                            gint start ,
9174                                                                            gint length ,   9174                                                                            gint length ,
9175                                                                            guint32 value ,   9175                                                                            guint32 value ,
9176                                                                            char const   *format   9176                                                                            char const   *format
9177                                                                            , ...) ;   9177                                                                            , ...) ;
9178 extern proto_item *proto_tree_add_ipv4(proto_tree *tree , int hfindex ,   9178 extern proto_item *proto_tree_add_ipv4(proto_tree *tree , int hfindex ,
9179                                        tvbuff_t *tvb , gint start ,   9179                                        tvbuff_t *tvb , gint start ,
9180                                        gint length , guint32 value ) ;   9180                                        gint length , guint32 value ) ;
9181 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format_value)(proto_tree *tree ,   9181 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format_value)(proto_tree *tree ,
9182                                                                                int hfindex ,   9182                                                                                int hfindex ,
9183                                                                                tvbuff_t *tvb ,   9183                                                                                tvbuff_t *tvb ,
9184                                                                                gint start ,   9184                                                                                gint start ,
9185                                                                                gint length ,   9185                                                                                gint length ,
9186                                                                                guint32 value ,   9186                                                                                guint32 value ,
9187                                                                                char const   *format   9187                                                                                char const   *format
9188                                                                                , ...) ;   9188                                                                                , ...) ;
9189 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format)(proto_tree *tree ,   9189 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format)(proto_tree *tree ,
9190                                                                          int hfindex ,   9190                                                                          int hfindex ,
9191                                                                          tvbuff_t *tvb ,   9191                                                                          tvbuff_t *tvb ,
9192                                                                          gint start ,   9192                                                                          gint start ,
9193                                                                          gint length ,   9193                                                                          gint length ,
9194                                                                          guint32 value ,   9194                                                                          guint32 value ,
9195                                                                          char const   *format   9195                                                                          char const   *format
9196                                                                          , ...) ;   9196                                                                          , ...) ;
9197 extern proto_item *proto_tree_add_ipv6(proto_tree *tree , int hfindex ,   9197 extern proto_item *proto_tree_add_ipv6(proto_tree *tree , int hfindex ,
9198                                        tvbuff_t *tvb , gint start ,   9198                                        tvbuff_t *tvb , gint start ,
9199                                        gint length , guint8 const   *value_ptr ) ;   9199                                        gint length , guint8 const   *value_ptr ) ;
9200 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format_value)(proto_tree *tree ,   9200 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format_value)(proto_tree *tree ,
9201                                                                                int hfindex ,   9201                                                                                int hfindex ,
9202                                                                                tvbuff_t *tvb ,   9202                                                                                tvbuff_t *tvb ,
9203                                                                                gint start ,   9203                                                                                gint start ,
9204                                                                                gint length ,   9204                                                                                gint length ,
9205                                                                                guint8 const   *value_ptr ,   9205                                                                                guint8 const   *value_ptr ,
9206                                                                                char const   *format   9206                                                                                char const   *format
9207                                                                                , ...) ;   9207                                                                                , ...) ;
9208 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format)(proto_tree *tree ,   9208 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format)(proto_tree *tree ,
9209                                                                          int hfindex ,   9209                                                                          int hfindex ,
9210                                                                          tvbuff_t *tvb ,   9210                                                                          tvbuff_t *tvb ,
9211                                                                          gint start ,   9211                                                                          gint start ,
9212                                                                          gint length ,   9212                                                                          gint length ,
9213                                                                          guint8 const   *value_ptr ,   9213                                                                          guint8 const   *value_ptr ,
9214                                                                          char const   *format   9214                                                                          char const   *format
9215                                                                          , ...) ;   9215                                                                          , ...) ;
9216 extern proto_item *proto_tree_add_ether(proto_tree *tree , int hfindex ,   9216 extern proto_item *proto_tree_add_ether(proto_tree *tree , int hfindex ,
9217                                         tvbuff_t *tvb , gint start ,   9217                                         tvbuff_t *tvb , gint start ,
9218                                         gint length , guint8 const   *value ) ;   9218                                         gint length , guint8 const   *value ) ;
9219 extern proto_item *( /* format attribute */  proto_tree_add_ether_format_value)(proto_tree *tree ,   9219 extern proto_item *( /* format attribute */  proto_tree_add_ether_format_value)(proto_tree *tree ,
9220                                                                                 int hfindex ,   9220                                                                                 int hfindex ,
9221                                                                                 tvbuff_t *tvb ,   9221                                                                                 tvbuff_t *tvb ,
9222                                                                                 gint start ,   9222                                                                                 gint start ,
9223                                                                                 gint length ,   9223                                                                                 gint length ,
9224                                                                                 guint8 const   *value ,   9224                                                                                 guint8 const   *value ,
9225                                                                                 char const   *format   9225                                                                                 char const   *format
9226                                                                                 , ...) ;   9226                                                                                 , ...) ;
9227 extern proto_item *( /* format attribute */  proto_tree_add_ether_format)(proto_tree *tree ,   9227 extern proto_item *( /* format attribute */  proto_tree_add_ether_format)(proto_tree *tree ,
9228                                                                           int hfindex ,   9228                                                                           int hfindex ,
9229                                                                           tvbuff_t *tvb ,   9229                                                                           tvbuff_t *tvb ,
9230                                                                           gint start ,   9230                                                                           gint start ,
9231                                                                           gint length ,   9231                                                                           gint length ,
9232                                                                           guint8 const   *value ,   9232                                                                           guint8 const   *value ,
9233                                                                           char const   *format   9233                                                                           char const   *format
9234                                                                           , ...) ;   9234                                                                           , ...) ;
9235 extern proto_item *proto_tree_add_guid(proto_tree *tree , int hfindex ,   9235 extern proto_item *proto_tree_add_guid(proto_tree *tree , int hfindex ,
9236                                        tvbuff_t *tvb , gint start ,   9236                                        tvbuff_t *tvb , gint start ,
9237                                        gint length ,   9237                                        gint length ,
9238                                        e_guid_t const   *value_ptr ) ;   9238                                        e_guid_t const   *value_ptr ) ;
9239 extern proto_item *( /* format attribute */  proto_tree_add_guid_format_value)(proto_tree *tree ,   9239 extern proto_item *( /* format attribute */  proto_tree_add_guid_format_value)(proto_tree *tree ,
9240                                                                                int hfindex ,   9240                                                                                int hfindex ,
9241                                                                                tvbuff_t *tvb ,   9241                                                                                tvbuff_t *tvb ,
9242                                                                                gint start ,   9242                                                                                gint start ,
9243                                                                                gint length ,   9243                                                                                gint length ,
9244                                                                                e_guid_t const   *value_ptr ,   9244                                                                                e_guid_t const   *value_ptr ,
9245                                                                                char const   *format   9245                                                                                char const   *format
9246                                                                                , ...) ;   9246                                                                                , ...) ;
9247 extern proto_item *( /* format attribute */  proto_tree_add_guid_format)(proto_tree *tree ,   9247 extern proto_item *( /* format attribute */  proto_tree_add_guid_format)(proto_tree *tree ,
9248                                                                          int hfindex ,   9248                                                                          int hfindex ,
9249                                                                          tvbuff_t *tvb ,   9249                                                                          tvbuff_t *tvb ,
9250                                                                          gint start ,   9250                                                                          gint start ,
9251                                                                          gint length ,   9251                                                                          gint length ,
9252                                                                          e_guid_t const   *value_ptr ,   9252                                                                          e_guid_t const   *value_ptr ,
9253                                                                          char const   *format   9253                                                                          char const   *format
9254                                                                          , ...) ;   9254                                                                          , ...) ;
9255 extern proto_item *proto_tree_add_oid(proto_tree *tree , int hfindex ,   9255 extern proto_item *proto_tree_add_oid(proto_tree *tree , int hfindex ,
9256                                       tvbuff_t *tvb , gint start , gint length ,   9256                                       tvbuff_t *tvb , gint start , gint length ,
9257                                       guint8 const   *value_ptr ) ;   9257                                       guint8 const   *value_ptr ) ;
9258 extern proto_item *( /* format attribute */  proto_tree_add_oid_format_value)(proto_tree *tree ,   9258 extern proto_item *( /* format attribute */  proto_tree_add_oid_format_value)(proto_tree *tree ,
9259                                                                               int hfindex ,   9259                                                                               int hfindex ,
9260                                                                               tvbuff_t *tvb ,   9260                                                                               tvbuff_t *tvb ,
9261                                                                               gint start ,   9261                                                                               gint start ,
9262                                                                               gint length ,   9262                                                                               gint length ,
9263                                                                               guint8 const   *value_ptr ,   9263                                                                               guint8 const   *value_ptr ,
9264                                                                               char const   *format   9264                                                                               char const   *format
9265                                                                               , ...) ;   9265                                                                               , ...) ;
9266 extern proto_item *( /* format attribute */  proto_tree_add_oid_format)(proto_tree *tree ,   9266 extern proto_item *( /* format attribute */  proto_tree_add_oid_format)(proto_tree *tree ,
9267                                                                         int hfindex ,   9267                                                                         int hfindex ,
9268                                                                         tvbuff_t *tvb ,   9268                                                                         tvbuff_t *tvb ,
9269                                                                         gint start ,   9269                                                                         gint start ,
9270                                                                         gint length ,   9270                                                                         gint length ,
9271                                                                         guint8 const   *value_ptr ,   9271                                                                         guint8 const   *value_ptr ,
9272                                                                         char const   *format   9272                                                                         char const   *format
9273                                                                         , ...) ;   9273                                                                         , ...) ;
9274 extern proto_item *proto_tree_add_string(proto_tree *tree , int hfindex ,   9274 extern proto_item *proto_tree_add_string(proto_tree *tree , int hfindex ,
9275                                          tvbuff_t *tvb , gint start ,   9275                                          tvbuff_t *tvb , gint start ,
9276                                          gint length , char const   *value ) ;   9276                                          gint length , char const   *value ) ;
9277 extern proto_item *( /* format attribute */  proto_tree_add_string_format_value)(proto_tree *tree ,   9277 extern proto_item *( /* format attribute */  proto_tree_add_string_format_value)(proto_tree *tree ,
9278                                                                                  int hfindex ,   9278                                                                                  int hfindex ,
9279                                                                                  tvbuff_t *tvb ,   9279                                                                                  tvbuff_t *tvb ,
9280                                                                                  gint start ,   9280                                                                                  gint start ,
9281                                                                                  gint length ,   9281                                                                                  gint length ,
9282                                                                                  char const   *value ,   9282                                                                                  char const   *value ,
9283                                                                                  char const   *format   9283                                                                                  char const   *format
9284                                                                                  , ...) ;   9284                                                                                  , ...) ;
9285 extern proto_item *( /* format attribute */  proto_tree_add_string_format)(proto_tree *tree ,   9285 extern proto_item *( /* format attribute */  proto_tree_add_string_format)(proto_tree *tree ,
9286                                                                            int hfindex ,   9286                                                                            int hfindex ,
9287                                                                            tvbuff_t *tvb ,   9287                                                                            tvbuff_t *tvb ,
9288                                                                            gint start ,   9288                                                                            gint start ,
9289                                                                            gint length ,   9289                                                                            gint length ,
9290                                                                            char const   *value ,   9290                                                                            char const   *value ,
9291                                                                            char const   *format   9291                                                                            char const   *format
9292                                                                            , ...) ;   9292                                                                            , ...) ;
9293 extern proto_item *proto_tree_add_boolean(proto_tree *tree , int hfindex ,   9293 extern proto_item *proto_tree_add_boolean(proto_tree *tree , int hfindex ,
9294                                           tvbuff_t *tvb , gint start ,   9294                                           tvbuff_t *tvb , gint start ,
9295                                           gint length , guint32 value ) ;   9295                                           gint length , guint32 value ) ;
9296 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format_value)(proto_tree *tree ,   9296 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format_value)(proto_tree *tree ,
9297                                                                                   int hfindex ,   9297                                                                                   int hfindex ,
9298                                                                                   tvbuff_t *tvb ,   9298                                                                                   tvbuff_t *tvb ,
9299                                                                                   gint start ,   9299                                                                                   gint start ,
9300                                                                                   gint length ,   9300                                                                                   gint length ,
9301                                                                                   guint32 value ,   9301                                                                                   guint32 value ,
9302                                                                                   char const   *format   9302                                                                                   char const   *format
9303                                                                                   , ...) ;   9303                                                                                   , ...) ;
9304 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format)(proto_tree *tree ,   9304 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format)(proto_tree *tree ,
9305                                                                             int hfindex ,   9305                                                                             int hfindex ,
9306                                                                             tvbuff_t *tvb ,   9306                                                                             tvbuff_t *tvb ,
9307                                                                             gint start ,   9307                                                                             gint start ,
9308                                                                             gint length ,   9308                                                                             gint length ,
9309                                                                             guint32 value ,   9309                                                                             guint32 value ,
9310                                                                             char const   *format   9310                                                                             char const   *format
9311                                                                             , ...) ;   9311                                                                             , ...) ;
9312 extern proto_item *proto_tree_add_float(proto_tree *tree , int hfindex ,   9312 extern proto_item *proto_tree_add_float(proto_tree *tree , int hfindex ,
9313                                         tvbuff_t *tvb , gint start ,   9313                                         tvbuff_t *tvb , gint start ,
9314                                         gint length , float value ) ;   9314                                         gint length , float value ) ;
9315 extern proto_item *( /* format attribute */  proto_tree_add_float_format_value)(proto_tree *tree ,   9315 extern proto_item *( /* format attribute */  proto_tree_add_float_format_value)(proto_tree *tree ,
9316                                                                                 int hfindex ,   9316                                                                                 int hfindex ,
9317                                                                                 tvbuff_t *tvb ,   9317                                                                                 tvbuff_t *tvb ,
9318                                                                                 gint start ,   9318                                                                                 gint start ,
9319                                                                                 gint length ,   9319                                                                                 gint length ,
9320                                                                                 float value ,   9320                                                                                 float value ,
9321                                                                                 char const   *format   9321                                                                                 char const   *format
9322                                                                                 , ...) ;   9322                                                                                 , ...) ;
9323 extern proto_item *( /* format attribute */  proto_tree_add_float_format)(proto_tree *tree ,   9323 extern proto_item *( /* format attribute */  proto_tree_add_float_format)(proto_tree *tree ,
9324                                                                           int hfindex ,   9324                                                                           int hfindex ,
9325                                                                           tvbuff_t *tvb ,   9325                                                                           tvbuff_t *tvb ,
9326                                                                           gint start ,   9326                                                                           gint start ,
9327                                                                           gint length ,   9327                                                                           gint length ,
9328                                                                           float value ,   9328                                                                           float value ,
9329                                                                           char const   *format   9329                                                                           char const   *format
9330                                                                           , ...) ;   9330                                                                           , ...) ;
9331 extern proto_item *proto_tree_add_double(proto_tree *tree , int hfindex ,   9331 extern proto_item *proto_tree_add_double(proto_tree *tree , int hfindex ,
9332                                          tvbuff_t *tvb , gint start ,   9332                                          tvbuff_t *tvb , gint start ,
9333                                          gint length , double value ) ;   9333                                          gint length , double value ) ;
9334 extern proto_item *( /* format attribute */  proto_tree_add_double_format_value)(proto_tree *tree ,   9334 extern proto_item *( /* format attribute */  proto_tree_add_double_format_value)(proto_tree *tree ,
9335                                                                                  int hfindex ,   9335                                                                                  int hfindex ,
9336                                                                                  tvbuff_t *tvb ,   9336                                                                                  tvbuff_t *tvb ,
9337                                                                                  gint start ,   9337                                                                                  gint start ,
9338                                                                                  gint length ,   9338                                                                                  gint length ,
9339                                                                                  double value ,   9339                                                                                  double value ,
9340                                                                                  char const   *format   9340                                                                                  char const   *format
9341                                                                                  , ...) ;   9341                                                                                  , ...) ;
9342 extern proto_item *( /* format attribute */  proto_tree_add_double_format)(proto_tree *tree ,   9342 extern proto_item *( /* format attribute */  proto_tree_add_double_format)(proto_tree *tree ,
9343                                                                            int hfindex ,   9343                                                                            int hfindex ,
9344                                                                            tvbuff_t *tvb ,   9344                                                                            tvbuff_t *tvb ,
9345                                                                            gint start ,   9345                                                                            gint start ,
9346                                                                            gint length ,   9346                                                                            gint length ,
9347                                                                            double value ,   9347                                                                            double value ,
9348                                                                            char const   *format   9348                                                                            char const   *format
9349                                                                            , ...) ;   9349                                                                            , ...) ;
9350 extern proto_item *proto_tree_add_uint(proto_tree *tree , int hfindex ,   9350 extern proto_item *proto_tree_add_uint(proto_tree *tree , int hfindex ,
9351                                        tvbuff_t *tvb , gint start ,   9351                                        tvbuff_t *tvb , gint start ,
9352                                        gint length , guint32 value ) ;   9352                                        gint length , guint32 value ) ;
9353 extern proto_item *( /* format attribute */  proto_tree_add_uint_format_value)(proto_tree *tree ,   9353 extern proto_item *( /* format attribute */  proto_tree_add_uint_format_value)(proto_tree *tree ,
9354                                                                                int hfindex ,   9354                                                                                int hfindex ,
9355                                                                                tvbuff_t *tvb ,   9355                                                                                tvbuff_t *tvb ,
9356                                                                                gint start ,   9356                                                                                gint start ,
9357                                                                                gint length ,   9357                                                                                gint length ,
9358                                                                                guint32 value ,   9358                                                                                guint32 value ,
9359                                                                                char const   *format   9359                                                                                char const   *format
9360                                                                                , ...) ;   9360                                                                                , ...) ;
9361 extern proto_item *( /* format attribute */  proto_tree_add_uint_format)(proto_tree *tree ,   9361 extern proto_item *( /* format attribute */  proto_tree_add_uint_format)(proto_tree *tree ,
9362                                                                          int hfindex ,   9362                                                                          int hfindex ,
9363                                                                          tvbuff_t *tvb ,   9363                                                                          tvbuff_t *tvb ,
9364                                                                          gint start ,   9364                                                                          gint start ,
9365                                                                          gint length ,   9365                                                                          gint length ,
9366                                                                          guint32 value ,   9366                                                                          guint32 value ,
9367                                                                          char const   *format   9367                                                                          char const   *format
9368                                                                          , ...) ;   9368                                                                          , ...) ;
9369 extern proto_item *proto_tree_add_uint64(proto_tree *tree , int hfindex ,   9369 extern proto_item *proto_tree_add_uint64(proto_tree *tree , int hfindex ,
9370                                          tvbuff_t *tvb , gint start ,   9370                                          tvbuff_t *tvb , gint start ,
9371                                          gint length , guint64 value ) ;   9371                                          gint length , guint64 value ) ;
9372 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format_value)(proto_tree *tree ,   9372 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format_value)(proto_tree *tree ,
9373                                                                                  int hfindex ,   9373                                                                                  int hfindex ,
9374                                                                                  tvbuff_t *tvb ,   9374                                                                                  tvbuff_t *tvb ,
9375                                                                                  gint start ,   9375                                                                                  gint start ,
9376                                                                                  gint length ,   9376                                                                                  gint length ,
9377                                                                                  guint64 value ,   9377                                                                                  guint64 value ,
9378                                                                                  char const   *format   9378                                                                                  char const   *format
9379                                                                                  , ...) ;   9379                                                                                  , ...) ;
9380 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format)(proto_tree *tree ,   9380 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format)(proto_tree *tree ,
9381                                                                            int hfindex ,   9381                                                                            int hfindex ,
9382                                                                            tvbuff_t *tvb ,   9382                                                                            tvbuff_t *tvb ,
9383                                                                            gint start ,   9383                                                                            gint start ,
9384                                                                            gint length ,   9384                                                                            gint length ,
9385                                                                            guint64 value ,   9385                                                                            guint64 value ,
9386                                                                            char const   *format   9386                                                                            char const   *format
9387                                                                            , ...) ;   9387                                                                            , ...) ;
9388 extern proto_item *proto_tree_add_int(proto_tree *tree , int hfindex ,   9388 extern proto_item *proto_tree_add_int(proto_tree *tree , int hfindex ,
9389                                       tvbuff_t *tvb , gint start , gint length ,   9389                                       tvbuff_t *tvb , gint start , gint length ,
9390                                       gint32 value ) ;   9390                                       gint32 value ) ;
9391 extern proto_item *( /* format attribute */  proto_tree_add_int_format_value)(proto_tree *tree ,   9391 extern proto_item *( /* format attribute */  proto_tree_add_int_format_value)(proto_tree *tree ,
9392                                                                               int hfindex ,   9392                                                                               int hfindex ,
9393                                                                               tvbuff_t *tvb ,   9393                                                                               tvbuff_t *tvb ,
9394                                                                               gint start ,   9394                                                                               gint start ,
9395                                                                               gint length ,   9395                                                                               gint length ,
9396                                                                               gint32 value ,   9396                                                                               gint32 value ,
9397                                                                               char const   *format   9397                                                                               char const   *format
9398                                                                               , ...) ;   9398                                                                               , ...) ;
9399 extern proto_item *( /* format attribute */  proto_tree_add_int_format)(proto_tree *tree ,   9399 extern proto_item *( /* format attribute */  proto_tree_add_int_format)(proto_tree *tree ,
9400                                                                         int hfindex ,   9400                                                                         int hfindex ,
9401                                                                         tvbuff_t *tvb ,   9401                                                                         tvbuff_t *tvb ,
9402                                                                         gint start ,   9402                                                                         gint start ,
9403                                                                         gint length ,   9403                                                                         gint length ,
9404                                                                         gint32 value ,   9404                                                                         gint32 value ,
9405                                                                         char const   *format   9405                                                                         char const   *format
9406                                                                         , ...) ;   9406                                                                         , ...) ;
9407 extern proto_item *proto_tree_add_int64(proto_tree *tree , int hfindex ,   9407 extern proto_item *proto_tree_add_int64(proto_tree *tree , int hfindex ,
9408                                         tvbuff_t *tvb , gint start ,   9408                                         tvbuff_t *tvb , gint start ,
9409                                         gint length , gint64 value ) ;   9409                                         gint length , gint64 value ) ;
9410 extern proto_item *( /* format attribute */  proto_tree_add_int64_format_value)(proto_tree *tree ,   9410 extern proto_item *( /* format attribute */  proto_tree_add_int64_format_value)(proto_tree *tree ,
9411                                                                                 int hfindex ,   9411                                                                                 int hfindex ,
9412                                                                                 tvbuff_t *tvb ,   9412                                                                                 tvbuff_t *tvb ,
9413                                                                                 gint start ,   9413                                                                                 gint start ,
9414                                                                                 gint length ,   9414                                                                                 gint length ,
9415                                                                                 gint64 value ,   9415                                                                                 gint64 value ,
9416                                                                                 char const   *format   9416                                                                                 char const   *format
9417                                                                                 , ...) ;   9417                                                                                 , ...) ;
9418 extern proto_item *( /* format attribute */  proto_tree_add_int64_format)(proto_tree *tree ,   9418 extern proto_item *( /* format attribute */  proto_tree_add_int64_format)(proto_tree *tree ,
9419                                                                           int hfindex ,   9419                                                                           int hfindex ,
9420                                                                           tvbuff_t *tvb ,   9420                                                                           tvbuff_t *tvb ,
9421                                                                           gint start ,   9421                                                                           gint start ,
9422                                                                           gint length ,   9422                                                                           gint length ,
9423                                                                           gint64 value ,   9423                                                                           gint64 value ,
9424                                                                           char const   *format   9424                                                                           char const   *format
9425                                                                           , ...) ;   9425                                                                           , ...) ;
9426 extern proto_item *proto_tree_add_eui64(proto_tree *tree , int hfindex ,   9426 extern proto_item *proto_tree_add_eui64(proto_tree *tree , int hfindex ,
9427                                         tvbuff_t *tvb , gint start ,   9427                                         tvbuff_t *tvb , gint start ,
9428                                         gint length , guint64 const   value ) ;   9428                                         gint length , guint64 const   value ) ;
9429 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format_value)(proto_tree *tree ,   9429 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format_value)(proto_tree *tree ,
9430                                                                                 int hfindex ,   9430                                                                                 int hfindex ,
9431                                                                                 tvbuff_t *tvb ,   9431                                                                                 tvbuff_t *tvb ,
9432                                                                                 gint start ,   9432                                                                                 gint start ,
9433                                                                                 gint length ,   9433                                                                                 gint length ,
9434                                                                                 guint64 const   value ,   9434                                                                                 guint64 const   value ,
9435                                                                                 char const   *format   9435                                                                                 char const   *format
9436                                                                                 , ...) ;   9436                                                                                 , ...) ;
9437 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format)(proto_tree *tree ,   9437 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format)(proto_tree *tree ,
9438                                                                           int hfindex ,   9438                                                                           int hfindex ,
9439                                                                           tvbuff_t *tvb ,   9439                                                                           tvbuff_t *tvb ,
9440                                                                           gint start ,   9440                                                                           gint start ,
9441                                                                           gint length ,   9441                                                                           gint length ,
9442                                                                           guint64 const   value ,   9442                                                                           guint64 const   value ,
9443                                                                           char const   *format   9443                                                                           char const   *format
9444                                                                           , ...) ;   9444                                                                           , ...) ;
9445 extern proto_item *( /* format attribute */  proto_tree_add_debug_text)(proto_tree *tree ,   9445 extern proto_item *( /* format attribute */  proto_tree_add_debug_text)(proto_tree *tree ,
9446                                                                         char const   *format   9446                                                                         char const   *format
9447                                                                         , ...) ;   9447                                                                         , ...) ;
9448 extern void proto_item_append_string(proto_item *pi , char const   *str ) ;   9448 extern void proto_item_append_string(proto_item *pi , char const   *str ) ;
9449 extern void proto_item_fill_label(field_info *fi , gchar *label_str ) ;   9449 extern void proto_item_fill_label(field_info *fi , gchar *label_str ) ;
9450 extern int proto_register_protocol(char const   *name ,   9450 extern int proto_register_protocol(char const   *name ,
9451                                    char const   *short_name ,   9451                                    char const   *short_name ,
9452                                    char const   *filter_name ) ;   9452                                    char const   *filter_name ) ;
9453 extern void proto_mark_private(int const   proto_id ) ;   9453 extern void proto_mark_private(int const   proto_id ) ;
9454 extern gboolean proto_is_private(int const   proto_id ) ;   9454 extern gboolean proto_is_private(int const   proto_id ) ;
9455 extern void proto_register_prefix(char const   *prefix ,   9455 extern void proto_register_prefix(char const   *prefix ,
9456                                   void (*initializer)(char const   *match ) ) ;   9456                                   void (*initializer)(char const   *match ) ) ;
9457 extern void proto_initialize_all_prefixes(void) ;   9457 extern void proto_initialize_all_prefixes(void) ;
9458 extern void proto_register_field_array(int const   parent ,   9458 extern void proto_register_field_array(int const   parent ,
9459                                        hf_register_info *hf ,   9459                                        hf_register_info *hf ,
9460                                        int const   num_records ) ;   9460                                        int const   num_records ) ;
9461 extern void proto_register_subtree_array(gint * const  *indices ,   9461 extern void proto_register_subtree_array(gint * const  *indices ,
9462                                          int const   num_indices ) ;   9462                                          int const   num_indices ) ;
9463 extern int proto_registrar_n(void) ;   9463 extern int proto_registrar_n(void) ;
9464 extern char const   *proto_registrar_get_name(int const   n ) ;   9464 extern char const   *proto_registrar_get_name(int const   n ) ;
9465 extern char const   *proto_registrar_get_abbrev(int const   n ) ;   9465 extern char const   *proto_registrar_get_abbrev(int const   n ) ;
9466 extern header_field_info *proto_registrar_get_nth(guint hfindex ) ;   9466 extern header_field_info *proto_registrar_get_nth(guint hfindex ) ;
9467 extern header_field_info *proto_registrar_get_byname(char const   *field_name ) ;   9467 extern header_field_info *proto_registrar_get_byname(char const   *field_name ) ;
9468 extern int proto_registrar_get_ftype(int const   n ) ;   9468 extern int proto_registrar_get_ftype(int const   n ) ;
9469 extern int proto_registrar_get_parent(int const   n ) ;   9469 extern int proto_registrar_get_parent(int const   n ) ;
9470 extern gboolean proto_registrar_is_protocol(int const   n ) ;   9470 extern gboolean proto_registrar_is_protocol(int const   n ) ;
9471 extern gint proto_registrar_get_length(int const   n ) ;   9471 extern gint proto_registrar_get_length(int const   n ) ;
9472 extern int proto_get_first_protocol(void **cookie ) ;   9472 extern int proto_get_first_protocol(void **cookie ) ;
9473 extern int proto_get_next_protocol(void **cookie ) ;   9473 extern int proto_get_next_protocol(void **cookie ) ;
9474 extern header_field_info *proto_get_first_protocol_field(int const   proto_id ,   9474 extern header_field_info *proto_get_first_protocol_field(int const   proto_id ,
9475                                                          void **cookle ) ;   9475                                                          void **cookle ) ;
9476 extern header_field_info *proto_get_next_protocol_field(void **cookle ) ;   9476 extern header_field_info *proto_get_next_protocol_field(void **cookle ) ;
9477 extern int proto_get_id_by_filter_name(gchar const   *filter_name ) ;   9477 extern int proto_get_id_by_filter_name(gchar const   *filter_name ) ;
9478 extern gboolean proto_can_toggle_protocol(int const   proto_id ) ;   9478 extern gboolean proto_can_toggle_protocol(int const   proto_id ) ;
9479 extern protocol_t *find_protocol_by_id(int const   proto_id ) ;   9479 extern protocol_t *find_protocol_by_id(int const   proto_id ) ;
9480 extern char const   *proto_get_protocol_name(int const   proto_id ) ;   9480 extern char const   *proto_get_protocol_name(int const   proto_id ) ;
9481 extern int proto_get_id(protocol_t const   *protocol ) ;   9481 extern int proto_get_id(protocol_t const   *protocol ) ;
9482 extern char const   *proto_get_protocol_short_name(protocol_t const   *protocol ) ;   9482 extern char const   *proto_get_protocol_short_name(protocol_t const   *protocol ) ;
9483 extern char const   *proto_get_protocol_long_name(protocol_t const   *protocol ) ;   9483 extern char const   *proto_get_protocol_long_name(protocol_t const   *protocol ) ;
9484 extern gboolean proto_is_protocol_enabled(protocol_t const   *protocol ) ;   9484 extern gboolean proto_is_protocol_enabled(protocol_t const   *protocol ) ;
9485 extern char const   *proto_get_protocol_filter_name(int const   proto_id ) ;   9485 extern char const   *proto_get_protocol_filter_name(int const   proto_id ) ;
9486 extern void proto_set_decoding(int const   proto_id , gboolean const   enabled ) ;   9486 extern void proto_set_decoding(int const   proto_id , gboolean const   enabled ) ;
9487 extern void proto_enable_all(void) ;   9487 extern void proto_enable_all(void) ;
9488 extern void proto_set_cant_toggle(int const   proto_id ) ;   9488 extern void proto_set_cant_toggle(int const   proto_id ) ;
9489 extern gboolean proto_check_for_protocol_or_field(proto_tree const   *tree ,   9489 extern gboolean proto_check_for_protocol_or_field(proto_tree const   *tree ,
9490                                                   int const   id ) ;   9490                                                   int const   id ) ;
9491 extern GPtrArray *proto_get_finfo_ptr_array(proto_tree const   *tree ,   9491 extern GPtrArray *proto_get_finfo_ptr_array(proto_tree const   *tree ,
9492                                             int const   hfindex ) ;   9492                                             int const   hfindex ) ;
9493 extern gboolean proto_tracking_interesting_fields(proto_tree const   *tree ) ;   9493 extern gboolean proto_tracking_interesting_fields(proto_tree const   *tree ) ;
9494 extern GPtrArray *proto_find_finfo(proto_tree *tree , int const   hfindex ) ;   9494 extern GPtrArray *proto_find_finfo(proto_tree *tree , int const   hfindex ) ;
9495 extern GPtrArray *proto_all_finfos(proto_tree *tree ) ;   9495 extern GPtrArray *proto_all_finfos(proto_tree *tree ) ;
9496 extern void proto_registrar_dump_protocols(void) ;   9496 extern void proto_registrar_dump_protocols(void) ;
9497 extern void proto_registrar_dump_values(void) ;   9497 extern void proto_registrar_dump_values(void) ;
9498 extern void proto_registrar_dump_fields(int const   format ) ;   9498 extern void proto_registrar_dump_fields(int const   format ) ;
9499 extern gboolean *tree_is_expanded ;   9499 extern gboolean *tree_is_expanded ;
9500 extern int num_tree_types ;   9500 extern int num_tree_types ;
9501 extern int hfinfo_bitwidth(header_field_info const   *hfinfo ) ;   9501 extern int hfinfo_bitwidth(header_field_info const   *hfinfo ) ;
9502 extern gboolean proto_can_match_selected(field_info *finfo ,   9502 extern gboolean proto_can_match_selected(field_info *finfo ,
9503                                          epan_dissect_t *edt ) ;   9503                                          epan_dissect_t *edt ) ;
9504 extern char *proto_construct_match_selected_string(field_info *finfo ,   9504 extern char *proto_construct_match_selected_string(field_info *finfo ,
9505                                                    epan_dissect_t *edt ) ;   9505                                                    epan_dissect_t *edt ) ;
9506 extern field_info *proto_find_field_from_offset(proto_tree *tree ,   9506 extern field_info *proto_find_field_from_offset(proto_tree *tree ,
9507                                                 guint offset , tvbuff_t *tvb ) ;   9507                                                 guint offset , tvbuff_t *tvb ) ;
9508 extern proto_item *proto_tree_add_bitmask(proto_tree *tree , tvbuff_t *tvb ,   9508 extern proto_item *proto_tree_add_bitmask(proto_tree *tree , tvbuff_t *tvb ,
9509                                           guint const   offset ,   9509                                           guint const   offset ,
9510                                           int const   hf_hdr ,   9510                                           int const   hf_hdr ,
9511                                           gint const   ett ,   9511                                           gint const   ett ,
9512                                           int const   **fields ,   9512                                           int const   **fields ,
9513                                           gboolean const   little_endian ) ;   9513                                           gboolean const   little_endian ) ;
9514 extern proto_item *proto_tree_add_bitmask_text(proto_tree *tree ,   9514 extern proto_item *proto_tree_add_bitmask_text(proto_tree *tree ,
9515                                                tvbuff_t *tvb ,   9515                                                tvbuff_t *tvb ,
9516                                                guint const   offset ,   9516                                                guint const   offset ,
9517                                                guint const   len ,   9517                                                guint const   len ,
9518                                                char const   *name ,   9518                                                char const   *name ,
9519                                                char const   *fallback ,   9519                                                char const   *fallback ,
9520                                                gint const   ett ,   9520                                                gint const   ett ,
9521                                                int const   **fields ,   9521                                                int const   **fields ,
9522                                                gboolean const   little_endian ,   9522                                                gboolean const   little_endian ,
9523                                                int const   flags ) ;   9523                                                int const   flags ) ;
9524 extern proto_item *proto_tree_add_bits_item(proto_tree *tree ,   9524 extern proto_item *proto_tree_add_bits_item(proto_tree *tree ,
9525                                             int const   hf_index ,   9525                                             int const   hf_index ,
9526                                             tvbuff_t *tvb ,   9526                                             tvbuff_t *tvb ,
9527                                             gint const   bit_offset ,   9527                                             gint const   bit_offset ,
9528                                             gint const   no_of_bits ,   9528                                             gint const   no_of_bits ,
9529                                             gboolean const   little_endian ) ;   9529                                             gboolean const   little_endian ) ;
9530 extern proto_item *proto_tree_add_bits_ret_val(proto_tree *tree ,   9530 extern proto_item *proto_tree_add_bits_ret_val(proto_tree *tree ,
9531                                                int const   hf_index ,   9531                                                int const   hf_index ,
9532                                                tvbuff_t *tvb ,   9532                                                tvbuff_t *tvb ,
9533                                                gint const   bit_offset ,   9533                                                gint const   bit_offset ,
9534                                                gint const   no_of_bits ,   9534                                                gint const   no_of_bits ,
9535                                                guint64 *return_value ,   9535                                                guint64 *return_value ,
9536                                                gboolean const   little_endian ) ;   9536                                                gboolean const   little_endian ) ;
9537 extern proto_item *( /* format attribute */  proto_tree_add_uint_bits_format_value)(proto_tree *tree ,   9537 extern proto_item *( /* format attribute */  proto_tree_add_uint_bits_format_value)(proto_tree *tree ,
9538                                                                                     int const   hf_index ,   9538                                                                                     int const   hf_index ,
9539                                                                                     tvbuff_t *tvb ,   9539                                                                                     tvbuff_t *tvb ,
9540                                                                                     gint const   bit_offset ,   9540                                                                                     gint const   bit_offset ,
9541                                                                                     gint const   no_of_bits ,   9541                                                                                     gint const   no_of_bits ,
9542                                                                                     guint32 value ,   9542                                                                                     guint32 value ,
9543                                                                                     char const   *format   9543                                                                                     char const   *format
9544                                                                                     , ...) ;   9544                                                                                     , ...) ;
9545 extern proto_item *( /* format attribute */  proto_tree_add_boolean_bits_format_value)(proto_tree *tree ,   9545 extern proto_item *( /* format attribute */  proto_tree_add_boolean_bits_format_value)(proto_tree *tree ,
9546                                                                                        int const   hf_index ,   9546                                                                                        int const   hf_index ,
9547                                                                                        tvbuff_t *tvb ,   9547                                                                                        tvbuff_t *tvb ,
9548                                                                                        gint const   bit_offset ,   9548                                                                                        gint const   bit_offset ,
9549                                                                                        gint const   no_of_bits ,   9549                                                                                        gint const   no_of_bits ,
9550                                                                                        guint32 value ,   9550                                                                                        guint32 value ,
9551                                                                                        char const   *format   9551                                                                                        char const   *format
9552                                                                                        , ...) ;   9552                                                                                        , ...) ;
9553 extern proto_item *( /* format attribute */  proto_tree_add_int_bits_format_value)(proto_tree *tree ,   9553 extern proto_item *( /* format attribute */  proto_tree_add_int_bits_format_value)(proto_tree *tree ,
9554                                                                                    int const   hf_index ,   9554                                                                                    int const   hf_index ,
9555                                                                                    tvbuff_t *tvb ,   9555                                                                                    tvbuff_t *tvb ,
9556                                                                                    gint const   bit_offset ,   9556                                                                                    gint const   bit_offset ,
9557                                                                                    gint const   no_of_bits ,   9557                                                                                    gint const   no_of_bits ,
9558                                                                                    gint32 value ,   9558                                                                                    gint32 value ,
9559                                                                                    char const   *format   9559                                                                                    char const   *format
9560                                                                                    , ...) ;   9560                                                                                    , ...) ;
9561 extern proto_item *( /* format attribute */  proto_tree_add_float_bits_format_value)(proto_tree *tree ,   9561 extern proto_item *( /* format attribute */  proto_tree_add_float_bits_format_value)(proto_tree *tree ,
9562                                                                                      int const   hf_index ,   9562                                                                                      int const   hf_index ,
9563                                                                                      tvbuff_t *tvb ,   9563                                                                                      tvbuff_t *tvb ,
9564                                                                                      gint const   bit_offset ,   9564                                                                                      gint const   bit_offset ,
9565                                                                                      gint const   no_of_bits ,   9565                                                                                      gint const   no_of_bits ,
9566                                                                                      float value ,   9566                                                                                      float value ,
9567                                                                                      char const   *format   9567                                                                                      char const   *format
9568                                                                                      , ...) ;   9568                                                                                      , ...) ;
9569 extern guchar proto_check_field_name(gchar const   *field_name ) ;   9569 extern guchar proto_check_field_name(gchar const   *field_name ) ;
9570 extern gchar const   *proto_custom_set(proto_tree *tree , int const   field_id ,   9570 extern gchar const   *proto_custom_set(proto_tree *tree , int const   field_id ,
9571                                        gint occurrence , gchar *result ,   9571                                        gint occurrence , gchar *result ,
9572                                        gchar *expr , int const   size ) ;   9572                                        gchar *expr , int const   size ) ;
9573 extern void dfilter_init(void) ;   9573 extern void dfilter_init(void) ;
9574 extern void dfilter_cleanup(void) ;   9574 extern void dfilter_cleanup(void) ;
9575 extern gboolean dfilter_compile(gchar const   *text , dfilter_t **dfp ) ;   9575 extern gboolean dfilter_compile(gchar const   *text , dfilter_t **dfp ) ;
9576 extern void dfilter_free(dfilter_t *df ) ;   9576 extern void dfilter_free(dfilter_t *df ) ;
9577 extern gchar const   *dfilter_error_msg ;   9577 extern gchar const   *dfilter_error_msg ;
9578 extern gboolean dfilter_apply_edt(dfilter_t *df , epan_dissect_t *edt ) ;   9578 extern gboolean dfilter_apply_edt(dfilter_t *df , epan_dissect_t *edt ) ;
9579 extern gboolean dfilter_apply(dfilter_t *df , proto_tree *tree ) ;   9579 extern gboolean dfilter_apply(dfilter_t *df , proto_tree *tree ) ;
9580 extern void dfilter_prime_proto_tree(dfilter_t const   *df , proto_tree *tree ) ;   9580 extern void dfilter_prime_proto_tree(dfilter_t const   *df , proto_tree *tree ) ;
9581 extern GPtrArray *dfilter_deprecated_tokens(dfilter_t *df ) ;   9581 extern GPtrArray *dfilter_deprecated_tokens(dfilter_t *df ) ;
9582 extern void dfilter_dump(dfilter_t *df ) ;   9582 extern void dfilter_dump(dfilter_t *df ) ;
9583 extern gchar *ep_address_to_str(address const   * ) ;   9583 extern gchar *ep_address_to_str(address const   * ) ;
9584 extern gchar *se_address_to_str(address const   * ) ;   9584 extern gchar *se_address_to_str(address const   * ) ;
9585 extern void address_to_str_buf(address const   *addr , gchar *buf , int buf_len ) ;   9585 extern void address_to_str_buf(address const   *addr , gchar *buf , int buf_len ) ;
9586 extern gchar *bytestring_to_str(guint8 const   * , guint32 const    ,   9586 extern gchar *bytestring_to_str(guint8 const   * , guint32 const    ,
9587                                 char const    ) ;   9587                                 char const    ) ;
9588 extern gchar *ether_to_str(guint8 const   * ) ;   9588 extern gchar *ether_to_str(guint8 const   * ) ;
9589 extern gchar *tvb_ether_to_str(tvbuff_t *tvb , gint const   offset ) ;   9589 extern gchar *tvb_ether_to_str(tvbuff_t *tvb , gint const   offset ) ;
9590 extern gchar const   *ip_to_str(guint8 const   * ) ;   9590 extern gchar const   *ip_to_str(guint8 const   * ) ;
9591 extern gchar const   *tvb_ip_to_str(tvbuff_t *tvb , gint const   offset ) ;   9591 extern gchar const   *tvb_ip_to_str(tvbuff_t *tvb , gint const   offset ) ;
9592 extern void ip_to_str_buf(guint8 const   *ad , gchar *buf , int const   buf_len ) ;   9592 extern void ip_to_str_buf(guint8 const   *ad , gchar *buf , int const   buf_len ) ;
9593 extern gchar *fc_to_str(guint8 const   * ) ;   9593 extern gchar *fc_to_str(guint8 const   * ) ;
9594 extern gchar *fcwwn_to_str(guint8 const   * ) ;   9594 extern gchar *fcwwn_to_str(guint8 const   * ) ;
9595 extern gchar *tvb_fc_to_str(tvbuff_t *tvb , gint const   offset ) ;   9595 extern gchar *tvb_fc_to_str(tvbuff_t *tvb , gint const   offset ) ;
9596 extern gchar *tvb_fcwwn_to_str(tvbuff_t *tvb , gint const   offset ) ;   9596 extern gchar *tvb_fcwwn_to_str(tvbuff_t *tvb , gint const   offset ) ;
9597 extern gchar *ip6_to_str(struct e_in6_addr  const  * ) ;   9597 extern gchar *ip6_to_str(struct e_in6_addr  const  * ) ;
9598 extern gchar *tvb_ip6_to_str(tvbuff_t *tvb , gint const   offset ) ;   9598 extern gchar *tvb_ip6_to_str(tvbuff_t *tvb , gint const   offset ) ;
9599 extern void ip6_to_str_buf(struct e_in6_addr  const  * , gchar * ) ;   9599 extern void ip6_to_str_buf(struct e_in6_addr  const  * , gchar * ) ;
9600 extern gchar *ipx_addr_to_str(guint32 const    , guint8 const   * ) ;   9600 extern gchar *ipx_addr_to_str(guint32 const    , guint8 const   * ) ;
9601 extern gchar *ipxnet_to_string(guint8 const   *ad ) ;   9601 extern gchar *ipxnet_to_string(guint8 const   *ad ) ;
9602 extern gchar *ipxnet_to_str_punct(guint32 const   ad , char const   punct ) ;   9602 extern gchar *ipxnet_to_str_punct(guint32 const   ad , char const   punct ) ;
9603 extern gchar *tvb_vines_addr_to_str(tvbuff_t *tvb , gint const   offset ) ;   9603 extern gchar *tvb_vines_addr_to_str(tvbuff_t *tvb , gint const   offset ) ;
9604 extern gchar *eui64_to_str(guint64 const   ad ) ;   9604 extern gchar *eui64_to_str(guint64 const   ad ) ;
9605 extern gchar *tvb_eui64_to_str(tvbuff_t *tvb , gint const   offset ,   9605 extern gchar *tvb_eui64_to_str(tvbuff_t *tvb , gint const   offset ,
9606                                guint const   encoding ) ;   9606                                guint const   encoding ) ;
9607 extern gchar *time_secs_to_str(gint32 const   time_val ) ;   9607 extern gchar *time_secs_to_str(gint32 const   time_val ) ;
9608 extern gchar *time_secs_to_str_unsigned(guint32 const    ) ;   9608 extern gchar *time_secs_to_str_unsigned(guint32 const    ) ;
9609 extern gchar *time_msecs_to_str(gint32 time_val ) ;   9609 extern gchar *time_msecs_to_str(gint32 time_val ) ;
9610 extern gchar *abs_time_to_str(nstime_t const   * ,   9610 extern gchar *abs_time_to_str(nstime_t const   * ,
9611                               absolute_time_display_e const   fmt ,   9611                               absolute_time_display_e const   fmt ,
9612                               gboolean show_zone ) ;   9612                               gboolean show_zone ) ;
9613 extern gchar *abs_time_secs_to_str(time_t const    ,   9613 extern gchar *abs_time_secs_to_str(time_t const    ,
9614                                    absolute_time_display_e const   fmt ,   9614                                    absolute_time_display_e const   fmt ,
9615                                    gboolean show_zone ) ;   9615                                    gboolean show_zone ) ;
9616 extern void display_signed_time(gchar * , int  , gint32 const    , gint32  ,   9616 extern void display_signed_time(gchar * , int  , gint32 const    , gint32  ,
9617                                 to_str_time_res_t const    ) ;   9617                                 to_str_time_res_t const    ) ;
9618 extern void display_epoch_time(gchar * , int  , time_t const    , gint32  ,   9618 extern void display_epoch_time(gchar * , int  , time_t const    , gint32  ,
9619                                to_str_time_res_t const    ) ;   9619                                to_str_time_res_t const    ) ;
9620 extern gchar *guint32_to_str(guint32 const   u ) ;   9620 extern gchar *guint32_to_str(guint32 const   u ) ;
9621 extern void guint32_to_str_buf(guint32 u , gchar *buf , int buf_len ) ;   9621 extern void guint32_to_str_buf(guint32 u , gchar *buf , int buf_len ) ;
9622 extern gchar *rel_time_to_str(nstime_t const   * ) ;   9622 extern gchar *rel_time_to_str(nstime_t const   * ) ;
9623 extern gchar *rel_time_to_secs_str(nstime_t const   * ) ;   9623 extern gchar *rel_time_to_secs_str(nstime_t const   * ) ;
9624 extern gchar *guid_to_str(e_guid_t const   * ) ;   9624 extern gchar *guid_to_str(e_guid_t const   * ) ;
9625 extern gchar *guid_to_str_buf(e_guid_t const   * , gchar * , int  ) ;   9625 extern gchar *guid_to_str_buf(e_guid_t const   * , gchar * , int  ) ;
9626 extern char *decode_bits_in_field(gint const   bit_offset ,   9626 extern char *decode_bits_in_field(gint const   bit_offset ,
9627                                   gint const   no_of_bits ,   9627                                   gint const   no_of_bits ,
9628                                   guint64 const   value ) ;   9628                                   guint64 const   value ) ;
9629 extern char *other_decode_bitfield_value(char *buf , guint32 const   val ,   9629 extern char *other_decode_bitfield_value(char *buf , guint32 const   val ,
9630                                          guint32 const   mask ,   9630                                          guint32 const   mask ,
9631                                          int const   width ) ;   9631                                          int const   width ) ;
9632 extern char *decode_bitfield_value(char *buf , guint32 const   val ,   9632 extern char *decode_bitfield_value(char *buf , guint32 const   val ,
9633                                    guint32 const   mask , int const   width ) ;   9633                                    guint32 const   mask , int const   width ) ;
9634 extern char const   *decode_boolean_bitfield(guint32 const   val ,   9634 extern char const   *decode_boolean_bitfield(guint32 const   val ,
9635                                              guint32 const   mask ,   9635                                              guint32 const   mask ,
9636                                              int const   width ,   9636                                              int const   width ,
9637                                              char const   *truedesc ,   9637                                              char const   *truedesc ,
9638                                              char const   *falsedesc ) ;   9638                                              char const   *falsedesc ) ;
9639 extern char const   *decode_numeric_bitfield(guint32 const   val ,   9639 extern char const   *decode_numeric_bitfield(guint32 const   val ,
9640                                              guint32 const   mask ,   9640                                              guint32 const   mask ,
9641                                              int const   width ,   9641                                              int const   width ,
9642                                              char const   *fmt ) ;   9642                                              char const   *fmt ) ;
9643 extern gchar const   *match_strval_idx(guint32 const   val ,   9643 extern gchar const   *match_strval_idx(guint32 const   val ,
9644                                        value_string const   *vs , gint *idx ) ;   9644                                        value_string const   *vs , gint *idx ) ;
9645 extern gchar const   *match_strval(guint32 const   val ,   9645 extern gchar const   *match_strval(guint32 const   val ,
9646                                    value_string const   *vs ) ;   9646                                    value_string const   *vs ) ;
9647 extern gchar const   *val_to_str(guint32 const   val ,   9647 extern gchar const   *val_to_str(guint32 const   val ,
9648                                  value_string const   *vs , char const   *fmt ) ;   9648                                  value_string const   *vs , char const   *fmt ) ;
9649 extern gchar const   *val_to_str_const(guint32 const   val ,   9649 extern gchar const   *val_to_str_const(guint32 const   val ,
9650                                        value_string const   *vs ,   9650                                        value_string const   *vs ,
9651                                        char const   *unknown_str ) ;   9651                                        char const   *unknown_str ) ;
9652 extern gchar const   *match_strstr_idx(gchar const   *val ,   9652 extern gchar const   *match_strstr_idx(gchar const   *val ,
9653                                        string_string const   *vs , gint *idx ) ;   9653                                        string_string const   *vs , gint *idx ) ;
9654 extern gchar const   *match_strstr(gchar const   *val ,   9654 extern gchar const   *match_strstr(gchar const   *val ,
9655                                    string_string const   *vs ) ;   9655                                    string_string const   *vs ) ;
9656 extern gchar const   *str_to_str(gchar const   *val ,   9656 extern gchar const   *str_to_str(gchar const   *val ,
9657                                  string_string const   *vs , char const   *fmt ) ;   9657                                  string_string const   *vs , char const   *fmt ) ;
9658 extern gboolean value_string_ext_validate(value_string_ext const   *vse ) ;   9658 extern gboolean value_string_ext_validate(value_string_ext const   *vse ) ;
9659 extern gchar const   *value_string_ext_match_type_str(value_string_ext const   *vse ) ;   9659 extern gchar const   *value_string_ext_match_type_str(value_string_ext const   *vse ) ;
9660 extern value_string const   *_match_strval_ext_init(guint32 const   val ,   9660 extern value_string const   *_match_strval_ext_init(guint32 const   val ,
9661                                                     value_string_ext const   *vse ) ;   9661                                                     value_string_ext const   *vse ) ;
9662 extern value_string_ext *value_string_ext_new(value_string *vs ,   9662 extern value_string_ext *value_string_ext_new(value_string *vs ,
9663                                               guint vs_tot_num_entries ,   9663                                               guint vs_tot_num_entries ,
9664                                               gchar *vs_name ) ;   9664                                               gchar *vs_name ) ;
9665 extern gchar const   *match_strval_ext(guint32 const   val ,   9665 extern gchar const   *match_strval_ext(guint32 const   val ,
9666                                        value_string_ext const   *vse ) ;   9666                                        value_string_ext const   *vse ) ;
9667 extern gchar const   *match_strval_idx_ext(guint32 const   val ,   9667 extern gchar const   *match_strval_idx_ext(guint32 const   val ,
9668                                            value_string_ext *vse , gint *idx ) ;   9668                                            value_string_ext *vse , gint *idx ) ;
9669 extern gchar const   *val_to_str_ext(guint32 const   val ,   9669 extern gchar const   *val_to_str_ext(guint32 const   val ,
9670                                      value_string_ext const   *vs ,   9670                                      value_string_ext const   *vs ,
9671                                      char const   *fmt ) ;   9671                                      char const   *fmt ) ;
9672 extern gchar const   *val_to_str_ext_const(guint32 const   val ,   9672 extern gchar const   *val_to_str_ext_const(guint32 const   val ,
9673                                            value_string_ext const   *vs ,   9673                                            value_string_ext const   *vs ,
9674                                            char const   *unknown_str ) ;   9674                                            char const   *unknown_str ) ;
9675 extern char const   *decode_enumerated_bitfield(guint32 const   val ,   9675 extern char const   *decode_enumerated_bitfield(guint32 const   val ,
9676                                                 guint32 const   mask ,   9676                                                 guint32 const   mask ,
9677                                                 int const   width ,   9677                                                 int const   width ,
9678                                                 value_string const   *tab ,   9678                                                 value_string const   *tab ,
9679                                                 char const   *fmt ) ;   9679                                                 char const   *fmt ) ;
9680 extern char const   *decode_enumerated_bitfield_shifted(guint32 const   val ,   9680 extern char const   *decode_enumerated_bitfield_shifted(guint32 const   val ,
9681                                                         guint32 const   mask ,   9681                                                         guint32 const   mask ,
9682                                                         int const   width ,   9682                                                         int const   width ,
9683                                                         value_string const   *tab ,   9683                                                         value_string const   *tab ,
9684                                                         char const   *fmt ) ;   9684                                                         char const   *fmt ) ;
9685 extern gchar const   *rval_to_str(guint32 const   val ,   9685 extern gchar const   *rval_to_str(guint32 const   val ,
9686                                   range_string const   *rs , char const   *fmt ) ;   9686                                   range_string const   *rs , char const   *fmt ) ;
9687 extern gchar const   *match_strrval_idx(guint32 const   val ,   9687 extern gchar const   *match_strrval_idx(guint32 const   val ,
9688                                         range_string const   *rs , gint *idx ) ;   9688                                         range_string const   *rs , gint *idx ) ;
9689 extern gchar const   *match_strrval(guint32 const   val ,   9689 extern gchar const   *match_strrval(guint32 const   val ,
9690                                     range_string const   *rs ) ;   9690                                     range_string const   *rs ) ;
9691 extern void col_setup(column_info *cinfo , gint const   num_cols ) ;   9691 extern void col_setup(column_info *cinfo , gint const   num_cols ) ;
9692 extern void col_init(column_info *cinfo ) ;   9692 extern void col_init(column_info *cinfo ) ;
9693 extern void col_set_fmt_time(frame_data const   *fd , column_info *cinfo ,   9693 extern void col_set_fmt_time(frame_data const   *fd , column_info *cinfo ,
9694                              gint const   fmt , gint const   col ) ;   9694                              gint const   fmt , gint const   col ) ;
9695 extern void col_fill_in_frame_data(frame_data const   *fd , column_info *cinfo ,   9695 extern void col_fill_in_frame_data(frame_data const   *fd , column_info *cinfo ,
9696                                    gint const   col ,   9696                                    gint const   col ,
9697                                    gboolean const   fill_col_exprs ) ;   9697                                    gboolean const   fill_col_exprs ) ;
9698 extern void col_fill_in(packet_info *pinfo , gboolean const   fill_col_exprs ,   9698 extern void col_fill_in(packet_info *pinfo , gboolean const   fill_col_exprs ,
9699                         gboolean const   fill_fd_colums ) ;   9699                         gboolean const   fill_fd_colums ) ;
9700 extern void col_fill_in_error(column_info *cinfo , frame_data *fdata ,   9700 extern void col_fill_in_error(column_info *cinfo , frame_data *fdata ,
9701                               gboolean const   fill_col_exprs ,   9701                               gboolean const   fill_col_exprs ,
9702                               gboolean const   fill_fd_colums ) ;   9702                               gboolean const   fill_fd_colums ) ;
9703 extern gboolean col_get_writable(column_info *cinfo ) ;   9703 extern gboolean col_get_writable(column_info *cinfo ) ;
9704 extern void col_set_writable(column_info *cinfo , gboolean const   writable ) ;   9704 extern void col_set_writable(column_info *cinfo , gboolean const   writable ) ;
9705 extern gint check_col(column_info *cinfo , gint const   col ) ;   9705 extern gint check_col(column_info *cinfo , gint const   col ) ;
9706 extern void col_set_fence(column_info *cinfo , gint const   col ) ;   9706 extern void col_set_fence(column_info *cinfo , gint const   col ) ;
9707 extern void col_clear(column_info *cinfo , gint const   col ) ;   9707 extern void col_clear(column_info *cinfo , gint const   col ) ;
9708 extern void col_set_str(column_info *cinfo , gint const   col ,   9708 extern void col_set_str(column_info *cinfo , gint const   col ,
9709                         gchar const   *str ) ;   9709                         gchar const   *str ) ;
9710 extern void col_add_str(column_info *cinfo , gint const   col ,   9710 extern void col_add_str(column_info *cinfo , gint const   col ,
9711                         gchar const   *str ) ;   9711                         gchar const   *str ) ;
9712 extern void ( /* format attribute */  col_add_fstr)(column_info *cinfo ,   9712 extern void ( /* format attribute */  col_add_fstr)(column_info *cinfo ,
9713                                                     gint const   col ,   9713                                                     gint const   col ,
9714                                                     gchar const   *format  , ...) ;   9714                                                     gchar const   *format  , ...) ;
9715 extern void col_custom_set_edt(epan_dissect_t *edt , column_info *cinfo ) ;   9715 extern void col_custom_set_edt(epan_dissect_t *edt , column_info *cinfo ) ;
9716 extern void col_custom_prime_edt(epan_dissect_t *edt , column_info *cinfo ) ;   9716 extern void col_custom_prime_edt(epan_dissect_t *edt , column_info *cinfo ) ;
9717 extern gboolean have_custom_cols(column_info *cinfo ) ;   9717 extern gboolean have_custom_cols(column_info *cinfo ) ;
9718 extern gboolean col_has_time_fmt(column_info *cinfo , gint const   col ) ;   9718 extern gboolean col_has_time_fmt(column_info *cinfo , gint const   col ) ;
9719 extern gboolean col_based_on_frame_data(column_info *cinfo , gint const   col ) ;   9719 extern gboolean col_based_on_frame_data(column_info *cinfo , gint const   col ) ;
9720 extern void col_append_str(column_info *cinfo , gint const   col ,   9720 extern void col_append_str(column_info *cinfo , gint const   col ,
9721                            gchar const   *str ) ;   9721                            gchar const   *str ) ;
9722 extern void ( /* format attribute */  col_append_fstr)(column_info *cinfo ,   9722 extern void ( /* format attribute */  col_append_fstr)(column_info *cinfo ,
9723                                                        gint const   col ,   9723                                                        gint const   col ,
9724                                                        gchar const   *format   9724                                                        gchar const   *format
9725                                                        , ...) ;   9725                                                        , ...) ;
9726 extern void ( /* format attribute */  col_prepend_fstr)(column_info *cinfo ,   9726 extern void ( /* format attribute */  col_prepend_fstr)(column_info *cinfo ,
9727                                                         gint const   col ,   9727                                                         gint const   col ,
9728                                                         gchar const   *format   9728                                                         gchar const   *format
9729                                                         , ...) ;   9729                                                         , ...) ;
9730 extern void ( /* format attribute */  col_prepend_fence_fstr)(column_info *cinfo ,   9730 extern void ( /* format attribute */  col_prepend_fence_fstr)(column_info *cinfo ,
9731                                                               gint const   col ,   9731                                                               gint const   col ,
9732                                                               gchar const   *format   9732                                                               gchar const   *format
9733                                                               , ...) ;   9733                                                               , ...) ;
9734 extern void col_append_sep_str(column_info *cinfo , gint const   col ,   9734 extern void col_append_sep_str(column_info *cinfo , gint const   col ,
9735                                gchar const   *sep , gchar const   *str ) ;   9735                                gchar const   *sep , gchar const   *str ) ;
9736 extern void ( /* format attribute */  col_append_sep_fstr)(column_info *cinfo ,   9736 extern void ( /* format attribute */  col_append_sep_fstr)(column_info *cinfo ,
9737                                                            gint const   col ,   9737                                                            gint const   col ,
9738                                                            gchar const   *sep ,   9738                                                            gchar const   *sep ,
9739                                                            gchar const   *format   9739                                                            gchar const   *format
9740                                                            , ...) ;   9740                                                            , ...) ;
9741 extern void col_set_time(column_info *cinfo , int const   col ,   9741 extern void col_set_time(column_info *cinfo , int const   col ,
9742                          nstime_t const   *ts , char *fieldname ) ;   9742                          nstime_t const   *ts , char *fieldname ) ;
9743 extern true_false_string const   tfs_true_false ;   9743 extern true_false_string const   tfs_true_false ;
9744 extern true_false_string const   tfs_yes_no ;   9744 extern true_false_string const   tfs_yes_no ;
9745 extern true_false_string const   tfs_set_notset ;   9745 extern true_false_string const   tfs_set_notset ;
9746 extern true_false_string const   tfs_enabled_disabled ;   9746 extern true_false_string const   tfs_enabled_disabled ;
9747 extern true_false_string const   tfs_ok_error ;   9747 extern true_false_string const   tfs_ok_error ;
9748 extern true_false_string const   tfs_error_ok ;   9748 extern true_false_string const   tfs_error_ok ;
9749 extern true_false_string const   tfs_success_fail ;   9749 extern true_false_string const   tfs_success_fail ;
9750 extern true_false_string const   tfs_fail_success ;   9750 extern true_false_string const   tfs_fail_success ;
9751 extern true_false_string const   tfs_on_off ;   9751 extern true_false_string const   tfs_on_off ;
9752 extern true_false_string const   tfs_ack_nack ;   9752 extern true_false_string const   tfs_ack_nack ;
9753 extern true_false_string const   tfs_odd_even ;   9753 extern true_false_string const   tfs_odd_even ;
9754 extern true_false_string const   tfs_allow_block ;   9754 extern true_false_string const   tfs_allow_block ;
9755 extern true_false_string const   tfs_restricted_allowed ;   9755 extern true_false_string const   tfs_restricted_allowed ;
9756 extern true_false_string const   tfs_accept_reject ;   9756 extern true_false_string const   tfs_accept_reject ;
9757 extern true_false_string const   tfs_more_nomore ;   9757 extern true_false_string const   tfs_more_nomore ;
9758 extern true_false_string const   tfs_present_absent ;   9758 extern true_false_string const   tfs_present_absent ;
9759 extern true_false_string const   tfs_present_not_present ;   9759 extern true_false_string const   tfs_present_not_present ;
9760 extern true_false_string const   tfs_active_inactive ;   9760 extern true_false_string const   tfs_active_inactive ;
9761 extern true_false_string const   tfs_found_not_found ;   9761 extern true_false_string const   tfs_found_not_found ;
9762 extern true_false_string const   tfs_command_response ;   9762 extern true_false_string const   tfs_command_response ;
9763 extern true_false_string const   tfs_capable_not_capable ;   9763 extern true_false_string const   tfs_capable_not_capable ;
9764 extern true_false_string const   tfs_supported_not_supported ;   9764 extern true_false_string const   tfs_supported_not_supported ;
9765 extern true_false_string const   tfs_used_notused ;   9765 extern true_false_string const   tfs_used_notused ;
9766 extern true_false_string const   tfs_high_low ;   9766 extern true_false_string const   tfs_high_low ;
9767 extern true_false_string const   tfs_pressed_not_pressed ;   9767 extern true_false_string const   tfs_pressed_not_pressed ;
9768 extern true_false_string const   tfs_implemented_not_implemented ;   9768 extern true_false_string const   tfs_implemented_not_implemented ;
9769 extern true_false_string const   tfs_requested_not_requested ;   9769 extern true_false_string const   tfs_requested_not_requested ;
9770 extern true_false_string const   tfs_reliable_not_reliable ;   9770 extern true_false_string const   tfs_reliable_not_reliable ;
9771 extern true_false_string const   tfs_allowed_not_allowed ;   9771 extern true_false_string const   tfs_allowed_not_allowed ;
9772 extern true_false_string const   tfs_accepted_not_accepted ;   9772 extern true_false_string const   tfs_accepted_not_accepted ;
9773 extern true_false_string const   tfs_detected_not_detected ;   9773 extern true_false_string const   tfs_detected_not_detected ;
9774 extern void packet_init(void) ;   9774 extern void packet_init(void) ;
9775 extern void packet_cleanup(void) ;   9775 extern void packet_cleanup(void) ;
9776 extern dissector_handle_t dtbl_entry_get_handle(dtbl_entry_t *dtbl_entry ) ;   9776 extern dissector_handle_t dtbl_entry_get_handle(dtbl_entry_t *dtbl_entry ) ;
9777 extern dissector_handle_t dtbl_entry_get_initial_handle(dtbl_entry_t *entry ) ;   9777 extern dissector_handle_t dtbl_entry_get_initial_handle(dtbl_entry_t *entry ) ;
9778 extern void dissector_table_foreach_changed(char const   *name ,   9778 extern void dissector_table_foreach_changed(char const   *name ,
9779                                             void (*func)(gchar const   *table_name ,   9779                                             void (*func)(gchar const   *table_name ,
9780                                                          ftenum_t selector_type ,   9780                                                          ftenum_t selector_type ,
9781                                                          gpointer key ,   9781                                                          gpointer key ,
9782                                                          gpointer value ,   9782                                                          gpointer value ,
9783                                                          gpointer user_data ) ,   9783                                                          gpointer user_data ) ,
9784                                             gpointer user_data ) ;   9784                                             gpointer user_data ) ;
9785 extern void dissector_table_foreach(char const   *name ,   9785 extern void dissector_table_foreach(char const   *name ,
9786                                     void (*func)(gchar const   *table_name ,   9786                                     void (*func)(gchar const   *table_name ,
9787                                                  ftenum_t selector_type ,   9787                                                  ftenum_t selector_type ,
9788                                                  gpointer key , gpointer value ,   9788                                                  gpointer key , gpointer value ,
9789                                                  gpointer user_data ) ,   9789                                                  gpointer user_data ) ,
9790                                     gpointer user_data ) ;   9790                                     gpointer user_data ) ;
9791 extern void dissector_all_tables_foreach_changed(void (*func)(gchar const   *table_name ,   9791 extern void dissector_all_tables_foreach_changed(void (*func)(gchar const   *table_name ,
9792                                                               ftenum_t selector_type ,   9792                                                               ftenum_t selector_type ,
9793                                                               gpointer key ,   9793                                                               gpointer key ,
9794                                                               gpointer value ,   9794                                                               gpointer value ,
9795                                                               gpointer user_data ) ,   9795                                                               gpointer user_data ) ,
9796                                                  gpointer user_data ) ;   9796                                                  gpointer user_data ) ;
9797 extern void dissector_table_foreach_handle(char const   *name ,   9797 extern void dissector_table_foreach_handle(char const   *name ,
9798                                            void (*func)(gchar const   *table_name ,   9798                                            void (*func)(gchar const   *table_name ,
9799                                                         gpointer value ,   9799                                                         gpointer value ,
9800                                                         gpointer user_data ) ,   9800                                                         gpointer user_data ) ,
9801                                            gpointer user_data ) ;   9801                                            gpointer user_data ) ;
9802 extern void dissector_all_tables_foreach_table(void (*func)(gchar const   *table_name ,   9802 extern void dissector_all_tables_foreach_table(void (*func)(gchar const   *table_name ,
9803                                                             gchar const   *ui_name ,   9803                                                             gchar const   *ui_name ,
9804                                                             gpointer user_data ) ,   9804                                                             gpointer user_data ) ,
9805                                                gpointer user_data ) ;   9805                                                gpointer user_data ) ;
9806 extern dissector_table_t register_dissector_table(char const   *name ,   9806 extern dissector_table_t register_dissector_table(char const   *name ,
9807                                                   char const   *ui_name ,   9807                                                   char const   *ui_name ,
9808                                                   ftenum_t const   type ,   9808                                                   ftenum_t const   type ,
9809                                                   int const   base ) ;   9809                                                   int const   base ) ;
9810 extern dissector_table_t find_dissector_table(char const   *name ) ;   9810 extern dissector_table_t find_dissector_table(char const   *name ) ;
9811 extern char const   *get_dissector_table_ui_name(char const   *name ) ;   9811 extern char const   *get_dissector_table_ui_name(char const   *name ) ;
9812 extern ftenum_t get_dissector_table_selector_type(char const   *name ) ;   9812 extern ftenum_t get_dissector_table_selector_type(char const   *name ) ;
9813 extern int get_dissector_table_base(char const   *name ) ;   9813 extern int get_dissector_table_base(char const   *name ) ;
9814 extern void dissector_add_uint(char const   *abbrev , guint32 const   pattern ,   9814 extern void dissector_add_uint(char const   *abbrev , guint32 const   pattern ,
9815                                dissector_handle_t handle ) ;   9815                                dissector_handle_t handle ) ;
9816 extern void dissector_delete_uint(char const   *name , guint32 const   pattern ,   9816 extern void dissector_delete_uint(char const   *name , guint32 const   pattern ,
9817                                   dissector_handle_t handle ) ;   9817                                   dissector_handle_t handle ) ;
9818 extern void dissector_change_uint(char const   *abbrev ,   9818 extern void dissector_change_uint(char const   *abbrev ,
9819                                   guint32 const   pattern ,   9819                                   guint32 const   pattern ,
9820                                   dissector_handle_t handle ) ;   9820                                   dissector_handle_t handle ) ;
9821 extern void dissector_reset_uint(char const   *name , guint32 const   pattern ) ;   9821 extern void dissector_reset_uint(char const   *name , guint32 const   pattern ) ;
9822 extern gboolean dissector_try_uint(dissector_table_t sub_dissectors ,   9822 extern gboolean dissector_try_uint(dissector_table_t sub_dissectors ,
9823                                    guint32 const   uint_val , tvbuff_t *tvb ,   9823                                    guint32 const   uint_val , tvbuff_t *tvb ,
9824                                    packet_info *pinfo , proto_tree *tree ) ;   9824                                    packet_info *pinfo , proto_tree *tree ) ;
9825 extern gboolean dissector_try_uint_new(dissector_table_t sub_dissectors ,   9825 extern gboolean dissector_try_uint_new(dissector_table_t sub_dissectors ,
9826                                        guint32 const   uint_val ,   9826                                        guint32 const   uint_val ,
9827                                        tvbuff_t *tvb , packet_info *pinfo ,   9827                                        tvbuff_t *tvb , packet_info *pinfo ,
9828                                        proto_tree *tree ,   9828                                        proto_tree *tree ,
9829                                        gboolean const   add_proto_name ) ;   9829                                        gboolean const   add_proto_name ) ;
9830 extern dissector_handle_t dissector_get_uint_handle(dissector_table_t const   sub_dissectors ,   9830 extern dissector_handle_t dissector_get_uint_handle(dissector_table_t const   sub_dissectors ,
9831                                                     guint32 const   uint_val ) ;   9831                                                     guint32 const   uint_val ) ;
9832 extern void dissector_add_string(char const   *name , gchar const   *pattern ,   9832 extern void dissector_add_string(char const   *name , gchar const   *pattern ,
9833                                  dissector_handle_t handle ) ;   9833                                  dissector_handle_t handle ) ;
9834 extern void dissector_delete_string(char const   *name ,   9834 extern void dissector_delete_string(char const   *name ,
9835                                     gchar const   *pattern ,   9835                                     gchar const   *pattern ,
9836                                     dissector_handle_t handle ) ;   9836                                     dissector_handle_t handle ) ;
9837 extern void dissector_change_string(char const   *name ,   9837 extern void dissector_change_string(char const   *name ,
9838                                     gchar const   *pattern ,   9838                                     gchar const   *pattern ,
9839                                     dissector_handle_t handle ) ;   9839                                     dissector_handle_t handle ) ;
9840 extern void dissector_reset_string(char const   *name , gchar const   *pattern ) ;   9840 extern void dissector_reset_string(char const   *name , gchar const   *pattern ) ;
9841 extern gboolean dissector_try_string(dissector_table_t sub_dissectors ,   9841 extern gboolean dissector_try_string(dissector_table_t sub_dissectors ,
9842                                      gchar const   *string , tvbuff_t *tvb ,   9842                                      gchar const   *string , tvbuff_t *tvb ,
9843                                      packet_info *pinfo , proto_tree *tree ) ;   9843                                      packet_info *pinfo , proto_tree *tree ) ;
9844 extern dissector_handle_t dissector_get_string_handle(dissector_table_t sub_dissectors ,   9844 extern dissector_handle_t dissector_get_string_handle(dissector_table_t sub_dissectors ,
9845                                                       gchar const   *string ) ;   9845                                                       gchar const   *string ) ;
9846 extern void dissector_add_handle(char const   *name , dissector_handle_t handle ) ;   9846 extern void dissector_add_handle(char const   *name , dissector_handle_t handle ) ;
9847 extern void register_heur_dissector_list(char const   *name ,   9847 extern void register_heur_dissector_list(char const   *name ,
9848                                          heur_dissector_list_t *list ) ;   9848                                          heur_dissector_list_t *list ) ;
9849 extern gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors ,   9849 extern gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors ,
9850                                         tvbuff_t *tvb , packet_info *pinfo ,   9850                                         tvbuff_t *tvb , packet_info *pinfo ,
9851                                         proto_tree *tree ) ;   9851                                         proto_tree *tree ) ;
9852 extern void heur_dissector_add(char const   *name ,   9852 extern void heur_dissector_add(char const   *name ,
9853                                gboolean (*dissector)(tvbuff_t *tvb ,   9853                                gboolean (*dissector)(tvbuff_t *tvb ,
9854                                                      packet_info *pinfo ,   9854                                                      packet_info *pinfo ,
9855                                                      proto_tree *tree ) ,   9855                                                      proto_tree *tree ) ,
9856                                int const   proto ) ;   9856                                int const   proto ) ;
9857 extern void heur_dissector_delete(char const   *name ,   9857 extern void heur_dissector_delete(char const   *name ,
9858                                   gboolean (*dissector)(tvbuff_t *tvb ,   9858                                   gboolean (*dissector)(tvbuff_t *tvb ,
9859                                                         packet_info *pinfo ,   9859                                                         packet_info *pinfo ,
9860                                                         proto_tree *tree ) ,   9860                                                         proto_tree *tree ) ,
9861                                   int const   proto ) ;   9861                                   int const   proto ) ;
9862 extern void register_dissector(char const   *name ,   9862 extern void register_dissector(char const   *name ,
9863                                void (*dissector)(tvbuff_t * , packet_info * ,   9863                                void (*dissector)(tvbuff_t * , packet_info * ,
9864                                                  proto_tree * ) ,   9864                                                  proto_tree * ) ,
9865                                int const   proto ) ;   9865                                int const   proto ) ;
9866 extern void new_register_dissector(char const   *name ,   9866 extern void new_register_dissector(char const   *name ,
9867                                    int (*dissector)(tvbuff_t * , packet_info * ,   9867                                    int (*dissector)(tvbuff_t * , packet_info * ,
9868                                                     proto_tree * ) ,   9868                                                     proto_tree * ) ,
9869                                    int const   proto ) ;   9869                                    int const   proto ) ;
9870 extern char const   *dissector_handle_get_long_name(dissector_handle_t const   handle ) ;   9870 extern char const   *dissector_handle_get_long_name(dissector_handle_t const   handle ) ;
9871 extern char const   *dissector_handle_get_short_name(dissector_handle_t const   handle ) ;   9871 extern char const   *dissector_handle_get_short_name(dissector_handle_t const   handle ) ;
9872 extern int dissector_handle_get_protocol_index(dissector_handle_t const   handle ) ;   9872 extern int dissector_handle_get_protocol_index(dissector_handle_t const   handle ) ;
9873 extern dissector_handle_t find_dissector(char const   *name ) ;   9873 extern dissector_handle_t find_dissector(char const   *name ) ;
9874 extern dissector_handle_t create_dissector_handle(void (*dissector)(tvbuff_t * ,   9874 extern dissector_handle_t create_dissector_handle(void (*dissector)(tvbuff_t * ,
9875                                                                     packet_info * ,   9875                                                                     packet_info * ,
9876                                                                     proto_tree * ) ,   9876                                                                     proto_tree * ) ,
9877                                                   int const   proto ) ;   9877                                                   int const   proto ) ;
9878 extern dissector_handle_t new_create_dissector_handle(int (*dissector)(tvbuff_t * ,   9878 extern dissector_handle_t new_create_dissector_handle(int (*dissector)(tvbuff_t * ,
9879                                                                        packet_info * ,   9879                                                                        packet_info * ,
9880                                                                        proto_tree * ) ,   9880                                                                        proto_tree * ) ,
9881                                                       int const   proto ) ;   9881                                                       int const   proto ) ;
9882 extern int call_dissector(dissector_handle_t handle , tvbuff_t *tvb ,   9882 extern int call_dissector(dissector_handle_t handle , tvbuff_t *tvb ,
9883                           packet_info *pinfo , proto_tree *tree ) ;   9883                           packet_info *pinfo , proto_tree *tree ) ;
9884 extern int call_dissector_only(dissector_handle_t handle , tvbuff_t *tvb ,   9884 extern int call_dissector_only(dissector_handle_t handle , tvbuff_t *tvb ,
9885                                packet_info *pinfo , proto_tree *tree ) ;   9885                                packet_info *pinfo , proto_tree *tree ) ;
9886 extern void dissect_init(void) ;   9886 extern void dissect_init(void) ;
9887 extern void dissect_cleanup(void) ;   9887 extern void dissect_cleanup(void) ;
9888 extern void set_actual_length(tvbuff_t *tvb , guint const   specified_len ) ;   9888 extern void set_actual_length(tvbuff_t *tvb , guint const   specified_len ) ;
9889 extern void register_init_routine(void (*func)(void) ) ;   9889 extern void register_init_routine(void (*func)(void) ) ;
9890 extern void init_dissection(void) ;   9890 extern void init_dissection(void) ;
9891 extern void cleanup_dissection(void) ;   9891 extern void cleanup_dissection(void) ;
9892 extern void register_postseq_cleanup_routine(void (*func)(void) ) ;   9892 extern void register_postseq_cleanup_routine(void (*func)(void) ) ;
9893 extern void postseq_cleanup_all_protocols(void) ;   9893 extern void postseq_cleanup_all_protocols(void) ;
9894 extern void register_final_registration_routine(void (*func)(void) ) ;   9894 extern void register_final_registration_routine(void (*func)(void) ) ;
9895 extern void final_registration_all_protocols(void) ;   9895 extern void final_registration_all_protocols(void) ;
9896 extern void add_new_data_source(packet_info *pinfo , tvbuff_t *tvb ,   9896 extern void add_new_data_source(packet_info *pinfo , tvbuff_t *tvb ,
9897                                 char const   *name ) ;   9897                                 char const   *name ) ;
9898 extern char const   *get_data_source_name(data_source *src ) ;   9898 extern char const   *get_data_source_name(data_source *src ) ;
9899 extern void free_data_sources(packet_info *pinfo ) ;   9899 extern void free_data_sources(packet_info *pinfo ) ;
9900 extern void dissect_packet(epan_dissect_t *edt ,   9900 extern void dissect_packet(epan_dissect_t *edt ,
9901                            union wtap_pseudo_header *pseudo_header ,   9901                            union wtap_pseudo_header *pseudo_header ,
9902                            guchar const   *pd , frame_data *fd ,   9902                            guchar const   *pd , frame_data *fd ,
9903                            column_info *cinfo ) ;   9903                            column_info *cinfo ) ;
9904 extern void capture_ethertype(guint16 etype , guchar const   *pd , int offset ,   9904 extern void capture_ethertype(guint16 etype , guchar const   *pd , int offset ,
9905                               int len , packet_counts *ld ) ;   9905                               int len , packet_counts *ld ) ;
9906 extern void ethertype(guint16 etype , tvbuff_t *tvb ,   9906 extern void ethertype(guint16 etype , tvbuff_t *tvb ,
9907                       int offset_after_ethertype , packet_info *pinfo ,   9907                       int offset_after_ethertype , packet_info *pinfo ,
9908                       proto_tree *tree , proto_tree *fh_tree , int etype_id ,   9908                       proto_tree *tree , proto_tree *fh_tree , int etype_id ,
9909                       int trailer_id , int fcs_len ) ;   9909                       int trailer_id , int fcs_len ) ;
9910 extern void dissector_dump_decodes(void) ;   9910 extern void dissector_dump_decodes(void) ;
9911 extern void register_postdissector(dissector_handle_t  ) ;   9911 extern void register_postdissector(dissector_handle_t  ) ;
9912 extern gboolean have_postdissector(void) ;   9912 extern gboolean have_postdissector(void) ;
9913 extern void call_all_postdissectors(tvbuff_t *tvb , packet_info *pinfo ,   9913 extern void call_all_postdissectors(tvbuff_t *tvb , packet_info *pinfo ,
9914                                     proto_tree *tree ) ;   9914                                     proto_tree *tree ) ;
9915 extern print_stream_t *print_stream_text_new(int to_file , char const   *dest ) ;   9915 extern print_stream_t *print_stream_text_new(int to_file , char const   *dest ) ;
9916 extern print_stream_t *print_stream_text_stdio_new(FILE *fh ) ;   9916 extern print_stream_t *print_stream_text_stdio_new(FILE *fh ) ;
9917 extern print_stream_t *print_stream_ps_new(int to_file , char const   *dest ) ;   9917 extern print_stream_t *print_stream_ps_new(int to_file , char const   *dest ) ;
9918 extern print_stream_t *print_stream_ps_stdio_new(FILE *fh ) ;   9918 extern print_stream_t *print_stream_ps_stdio_new(FILE *fh ) ;
9919 extern gboolean print_preamble(print_stream_t *self , gchar *filename ) ;   9919 extern gboolean print_preamble(print_stream_t *self , gchar *filename ) ;
9920 extern gboolean print_line(print_stream_t *self , int indent ,   9920 extern gboolean print_line(print_stream_t *self , int indent ,
9921                            char const   *line ) ;   9921                            char const   *line ) ;
9922 extern gboolean print_bookmark(print_stream_t *self , gchar const   *name ,   9922 extern gboolean print_bookmark(print_stream_t *self , gchar const   *name ,
9923                                gchar const   *title ) ;   9923                                gchar const   *title ) ;
9924 extern gboolean new_page(print_stream_t *self ) ;   9924 extern gboolean new_page(print_stream_t *self ) ;
9925 extern gboolean print_finale(print_stream_t *self ) ;   9925 extern gboolean print_finale(print_stream_t *self ) ;
9926 extern gboolean destroy_print_stream(print_stream_t *self ) ;   9926 extern gboolean destroy_print_stream(print_stream_t *self ) ;
9927 extern output_fields_t *output_fields_new(void) ;   9927 extern output_fields_t *output_fields_new(void) ;
9928 extern void output_fields_free(output_fields_t *info ) ;   9928 extern void output_fields_free(output_fields_t *info ) ;
9929 extern void output_fields_add(output_fields_t *info , gchar const   *field ) ;   9929 extern void output_fields_add(output_fields_t *info , gchar const   *field ) ;
9930 extern gsize output_fields_num_fields(output_fields_t *info ) ;   9930 extern gsize output_fields_num_fields(output_fields_t *info ) ;
9931 extern gboolean output_fields_set_option(output_fields_t *info , gchar *option ) ;   9931 extern gboolean output_fields_set_option(output_fields_t *info , gchar *option ) ;
9932 extern void output_fields_list_options(FILE *fh ) ;   9932 extern void output_fields_list_options(FILE *fh ) ;
9933 extern GHashTable *output_only_tables ;   9933 extern GHashTable *output_only_tables ;
9934 extern gboolean proto_tree_print(print_args_t *print_args ,   9934 extern gboolean proto_tree_print(print_args_t *print_args ,
9935                                  epan_dissect_t *edt , print_stream_t *stream ) ;   9935                                  epan_dissect_t *edt , print_stream_t *stream ) ;
9936 extern gboolean print_hex_data(print_stream_t *stream , epan_dissect_t *edt ) ;   9936 extern gboolean print_hex_data(print_stream_t *stream , epan_dissect_t *edt ) ;
9937 extern void write_pdml_preamble(FILE *fh ) ;   9937 extern void write_pdml_preamble(FILE *fh ) ;
9938 extern void proto_tree_write_pdml(epan_dissect_t *edt , FILE *fh ) ;   9938 extern void proto_tree_write_pdml(epan_dissect_t *edt , FILE *fh ) ;
9939 extern void write_pdml_finale(FILE *fh ) ;   9939 extern void write_pdml_finale(FILE *fh ) ;
9940 extern void write_psml_preamble(FILE *fh ) ;   9940 extern void write_psml_preamble(FILE *fh ) ;
9941 extern void proto_tree_write_psml(epan_dissect_t *edt , FILE *fh ) ;   9941 extern void proto_tree_write_psml(epan_dissect_t *edt , FILE *fh ) ;
9942 extern void write_psml_finale(FILE *fh ) ;   9942 extern void write_psml_finale(FILE *fh ) ;
9943 extern void write_csv_preamble(FILE *fh ) ;   9943 extern void write_csv_preamble(FILE *fh ) ;
9944 extern void proto_tree_write_csv(epan_dissect_t *edt , FILE *fh ) ;   9944 extern void proto_tree_write_csv(epan_dissect_t *edt , FILE *fh ) ;
9945 extern void write_csv_finale(FILE *fh ) ;   9945 extern void write_csv_finale(FILE *fh ) ;
9946 extern void write_carrays_preamble(FILE *fh ) ;   9946 extern void write_carrays_preamble(FILE *fh ) ;
9947 extern void proto_tree_write_carrays(guint8 const   *pd , guint32 len ,   9947 extern void proto_tree_write_carrays(guint8 const   *pd , guint32 len ,
9948                                      guint32 num , FILE *fh ) ;   9948                                      guint32 num , FILE *fh ) ;
9949 extern void write_carrays_finale(FILE *fh ) ;   9949 extern void write_carrays_finale(FILE *fh ) ;
9950 extern void write_fields_preamble(output_fields_t *fields , FILE *fh ) ;   9950 extern void write_fields_preamble(output_fields_t *fields , FILE *fh ) ;
9951 extern void proto_tree_write_fields(output_fields_t *fields ,   9951 extern void proto_tree_write_fields(output_fields_t *fields ,
9952                                     epan_dissect_t *edt , FILE *fh ) ;   9952                                     epan_dissect_t *edt , FILE *fh ) ;
9953 extern void write_fields_finale(output_fields_t *fields , FILE *fh ) ;   9953 extern void write_fields_finale(output_fields_t *fields , FILE *fh ) ;
9954 extern gchar const   *get_node_field_value(field_info *fi , epan_dissect_t *edt ) ;   9954 extern gchar const   *get_node_field_value(field_info *fi , epan_dissect_t *edt ) ;
9955 extern frame_data_sequence *new_frame_data_sequence(void) ;   9955 extern frame_data_sequence *new_frame_data_sequence(void) ;
9956 extern frame_data *frame_data_sequence_add(frame_data_sequence *fds ,   9956 extern frame_data *frame_data_sequence_add(frame_data_sequence *fds ,
9957                                            frame_data *fdata ) ;   9957                                            frame_data *fdata ) ;
9958 extern frame_data *frame_data_sequence_find(frame_data_sequence *fds ,   9958 extern frame_data *frame_data_sequence_find(frame_data_sequence *fds ,
9959                                             guint32 num ) ;   9959                                             guint32 num ) ;
9960 extern void free_frame_data_sequence(frame_data_sequence *fds ) ;   9960 extern void free_frame_data_sequence(frame_data_sequence *fds ) ;
9961 extern void cap_file_init(capture_file *cf ) ;   9961 extern void cap_file_init(capture_file *cf ) ;
9962 extern void cf_callback_add(void (*func)(gint event , gpointer data ,   9962 extern void cf_callback_add(void (*func)(gint event , gpointer data ,
9963                                          gpointer user_data ) ,   9963                                          gpointer user_data ) ,
9964                             gpointer user_data ) ;   9964                             gpointer user_data ) ;
9965 extern void cf_callback_remove(void (*func)(gint event , gpointer data ,   9965 extern void cf_callback_remove(void (*func)(gint event , gpointer data ,
9966                                             gpointer user_data ) ) ;   9966                                             gpointer user_data ) ) ;
9967 extern cf_status_t cf_open(capture_file *cf , char const   *fname ,   9967 extern cf_status_t cf_open(capture_file *cf , char const   *fname ,
9968                            gboolean is_tempfile , int *err ) ;   9968                            gboolean is_tempfile , int *err ) ;
9969 extern void cf_close(capture_file *cf ) ;   9969 extern void cf_close(capture_file *cf ) ;
9970 extern void cf_reload(capture_file *cf ) ;   9970 extern void cf_reload(capture_file *cf ) ;
9971 extern cf_read_status_t cf_read(capture_file *cf , gboolean from_save ) ;   9971 extern cf_read_status_t cf_read(capture_file *cf , gboolean from_save ) ;
9972 extern gboolean cf_read_frame_r(capture_file *cf , frame_data *fdata ,   9972 extern gboolean cf_read_frame_r(capture_file *cf , frame_data *fdata ,
9973                                 union wtap_pseudo_header *pseudo_header ,   9973                                 union wtap_pseudo_header *pseudo_header ,
9974                                 guint8 *pd ) ;   9974                                 guint8 *pd ) ;
9975 extern gboolean cf_read_frame(capture_file *cf , frame_data *fdata ) ;   9975 extern gboolean cf_read_frame(capture_file *cf , frame_data *fdata ) ;
9976 extern cf_status_t cf_start_tail(capture_file *cf , char const   *fname ,   9976 extern cf_status_t cf_start_tail(capture_file *cf , char const   *fname ,
9977                                  gboolean is_tempfile , int *err ) ;   9977                                  gboolean is_tempfile , int *err ) ;
9978 extern cf_read_status_t cf_continue_tail(capture_file *cf ,   9978 extern cf_read_status_t cf_continue_tail(capture_file *cf ,
9979                                          int volatile   to_read , int *err ) ;   9979                                          int volatile   to_read , int *err ) ;
9980 extern void cf_fake_continue_tail(capture_file *cf ) ;   9980 extern void cf_fake_continue_tail(capture_file *cf ) ;
9981 extern cf_read_status_t cf_finish_tail(capture_file *cf , int *err ) ;   9981 extern cf_read_status_t cf_finish_tail(capture_file *cf , int *err ) ;
9982 extern gboolean cf_can_save_as(capture_file *cf ) ;   9982 extern gboolean cf_can_save_as(capture_file *cf ) ;
9983 extern cf_status_t cf_save(capture_file *cf , char const   *fname ,   9983 extern cf_status_t cf_save(capture_file *cf , char const   *fname ,
9984                            packet_range_t *range , guint save_format ,   9984                            packet_range_t *range , guint save_format ,
9985                            gboolean compressed ) ;   9985                            gboolean compressed ) ;
9986 extern gchar const   *cf_get_display_name(capture_file *cf ) ;   9986 extern gchar const   *cf_get_display_name(capture_file *cf ) ;
9987 extern void cf_set_tempfile_source(capture_file *cf , gchar *source ) ;   9987 extern void cf_set_tempfile_source(capture_file *cf , gchar *source ) ;
9988 extern gchar const   *cf_get_tempfile_source(capture_file *cf ) ;   9988 extern gchar const   *cf_get_tempfile_source(capture_file *cf ) ;
9989 extern int cf_get_packet_count(capture_file *cf ) ;   9989 extern int cf_get_packet_count(capture_file *cf ) ;
9990 extern void cf_set_packet_count(capture_file *cf , int packet_count ) ;   9990 extern void cf_set_packet_count(capture_file *cf , int packet_count ) ;
9991 extern gboolean cf_is_tempfile(capture_file *cf ) ;   9991 extern gboolean cf_is_tempfile(capture_file *cf ) ;
9992 extern void cf_set_tempfile(capture_file *cf , gboolean is_tempfile ) ;   9992 extern void cf_set_tempfile(capture_file *cf , gboolean is_tempfile ) ;
9993 extern void cf_set_drops_known(capture_file *cf , gboolean drops_known ) ;   9993 extern void cf_set_drops_known(capture_file *cf , gboolean drops_known ) ;
9994 extern void cf_set_drops(capture_file *cf , guint32 drops ) ;   9994 extern void cf_set_drops(capture_file *cf , guint32 drops ) ;
9995 extern gboolean cf_get_drops_known(capture_file *cf ) ;   9995 extern gboolean cf_get_drops_known(capture_file *cf ) ;
9996 extern guint32 cf_get_drops(capture_file *cf ) ;   9996 extern guint32 cf_get_drops(capture_file *cf ) ;
9997 extern void cf_set_rfcode(capture_file *cf , dfilter_t *rfcode ) ;   9997 extern void cf_set_rfcode(capture_file *cf , dfilter_t *rfcode ) ;
9998 extern cf_status_t cf_filter_packets(capture_file *cf , gchar *dfilter ,   9998 extern cf_status_t cf_filter_packets(capture_file *cf , gchar *dfilter ,
9999                                      gboolean force ) ;   9999                                      gboolean force ) ;
10000 extern void cf_reftime_packets(capture_file *cf ) ;   10000 extern void cf_reftime_packets(capture_file *cf ) ;
10001 extern gulong cf_get_computed_elapsed(void) ;   10001 extern gulong cf_get_computed_elapsed(void) ;
10002 extern void cf_redissect_packets(capture_file *cf ) ;   10002 extern void cf_redissect_packets(capture_file *cf ) ;
10003 extern cf_read_status_t cf_retap_packets(capture_file *cf ) ;   10003 extern cf_read_status_t cf_retap_packets(capture_file *cf ) ;
10004 extern void cf_timestamp_auto_precision(capture_file *cf ) ;   10004 extern void cf_timestamp_auto_precision(capture_file *cf ) ;
10005 extern cf_print_status_t cf_print_packets(capture_file *cf ,   10005 extern cf_print_status_t cf_print_packets(capture_file *cf ,
10006                                           print_args_t *print_args ) ;   10006                                           print_args_t *print_args ) ;
10007 extern cf_print_status_t cf_write_pdml_packets(capture_file *cf ,   10007 extern cf_print_status_t cf_write_pdml_packets(capture_file *cf ,
10008                                                print_args_t *print_args ) ;   10008                                                print_args_t *print_args ) ;
10009 extern cf_print_status_t cf_write_psml_packets(capture_file *cf ,   10009 extern cf_print_status_t cf_write_psml_packets(capture_file *cf ,
10010                                                print_args_t *print_args ) ;   10010                                                print_args_t *print_args ) ;
10011 extern cf_print_status_t cf_write_csv_packets(capture_file *cf ,   10011 extern cf_print_status_t cf_write_csv_packets(capture_file *cf ,
10012                                               print_args_t *print_args ) ;   10012                                               print_args_t *print_args ) ;
10013 extern cf_print_status_t cf_write_carrays_packets(capture_file *cf ,   10013 extern cf_print_status_t cf_write_carrays_packets(capture_file *cf ,
10014                                                   print_args_t *print_args ) ;   10014                                                   print_args_t *print_args ) ;
10015 extern gboolean cf_find_packet_protocol_tree(capture_file *cf ,   10015 extern gboolean cf_find_packet_protocol_tree(capture_file *cf ,
10016                                              char const   *string ,   10016                                              char const   *string ,
10017                                              search_direction dir ) ;   10017                                              search_direction dir ) ;
10018 extern gboolean cf_find_string_protocol_tree(capture_file *cf ,   10018 extern gboolean cf_find_string_protocol_tree(capture_file *cf ,
10019                                              proto_tree *tree ,   10019                                              proto_tree *tree ,
10020                                              match_data *mdata ) ;   10020                                              match_data *mdata ) ;
10021 extern gboolean cf_find_packet_summary_line(capture_file *cf ,   10021 extern gboolean cf_find_packet_summary_line(capture_file *cf ,
10022                                             char const   *string ,   10022                                             char const   *string ,
10023                                             search_direction dir ) ;   10023                                             search_direction dir ) ;
10024 extern gboolean cf_find_packet_data(capture_file *cf , guint8 const   *string ,   10024 extern gboolean cf_find_packet_data(capture_file *cf , guint8 const   *string ,
10025                                     size_t string_size , search_direction dir ) ;   10025                                     size_t string_size , search_direction dir ) ;
10026 extern gboolean cf_find_packet_dfilter(capture_file *cf , dfilter_t *sfcode ,   10026 extern gboolean cf_find_packet_dfilter(capture_file *cf , dfilter_t *sfcode ,
10027                                        search_direction dir ) ;   10027                                        search_direction dir ) ;
10028 extern gboolean cf_find_packet_dfilter_string(capture_file *cf ,   10028 extern gboolean cf_find_packet_dfilter_string(capture_file *cf ,
10029                                               char const   *filter ,   10029                                               char const   *filter ,
10030                                               search_direction dir ) ;   10030                                               search_direction dir ) ;
10031 extern gboolean cf_find_packet_marked(capture_file *cf , search_direction dir ) ;   10031 extern gboolean cf_find_packet_marked(capture_file *cf , search_direction dir ) ;
10032 extern gboolean cf_find_packet_time_reference(capture_file *cf ,   10032 extern gboolean cf_find_packet_time_reference(capture_file *cf ,
10033                                               search_direction dir ) ;   10033                                               search_direction dir ) ;
10034 extern gboolean cf_goto_top_frame() ;   10034 extern gboolean cf_goto_top_frame() ;
10035 extern gboolean cf_goto_bottom_frame() ;   10035 extern gboolean cf_goto_bottom_frame() ;
10036 extern gboolean cf_goto_frame(capture_file *cf , guint row ) ;   10036 extern gboolean cf_goto_frame(capture_file *cf , guint row ) ;
10037 extern gboolean cf_goto_framenum(capture_file *cf ) ;   10037 extern gboolean cf_goto_framenum(capture_file *cf ) ;
10038 extern void cf_select_packet(capture_file *cf , int row ) ;   10038 extern void cf_select_packet(capture_file *cf , int row ) ;
10039 extern void cf_unselect_packet(capture_file *cf ) ;   10039 extern void cf_unselect_packet(capture_file *cf ) ;
10040 extern void cf_unselect_field(capture_file *cf ) ;   10040 extern void cf_unselect_field(capture_file *cf ) ;
10041 extern void cf_mark_frame(capture_file *cf , frame_data *frame ) ;   10041 extern void cf_mark_frame(capture_file *cf , frame_data *frame ) ;
10042 extern void cf_unmark_frame(capture_file *cf , frame_data *frame ) ;   10042 extern void cf_unmark_frame(capture_file *cf , frame_data *frame ) ;
10043 extern void cf_ignore_frame(capture_file *cf , frame_data *frame ) ;   10043 extern void cf_ignore_frame(capture_file *cf , frame_data *frame ) ;
10044 extern void cf_unignore_frame(capture_file *cf , frame_data *frame ) ;   10044 extern void cf_unignore_frame(capture_file *cf , frame_data *frame ) ;
10045 extern cf_status_t cf_merge_files(char **out_filename , int in_file_count ,   10045 extern cf_status_t cf_merge_files(char **out_filename , int in_file_count ,
10046                                   char * const  *in_filenames , int file_type ,   10046                                   char * const  *in_filenames , int file_type ,
10047                                   gboolean do_append ) ;   10047                                   gboolean do_append ) ;
10048 extern void read_keytab_file(char const   * ) ;   10048 extern void read_keytab_file(char const   * ) ;
10049 extern int ringbuf_init(char const   *capture_name , guint num_files ,   10049 extern int ringbuf_init(char const   *capture_name , guint num_files ,
10050                         gboolean group_read_access ) ;   10050                         gboolean group_read_access ) ;
10051 extern gchar const   *ringbuf_current_filename(void) ;   10051 extern gchar const   *ringbuf_current_filename(void) ;
10052 extern FILE *ringbuf_init_libpcap_fdopen(int *err ) ;   10052 extern FILE *ringbuf_init_libpcap_fdopen(int *err ) ;
10053 extern gboolean ringbuf_switch_file(FILE **pdh , gchar **save_file ,   10053 extern gboolean ringbuf_switch_file(FILE **pdh , gchar **save_file ,
10054                                     int *save_file_fd , int *err ) ;   10054                                     int *save_file_fd , int *err ) ;
10055 extern gboolean ringbuf_libpcap_dump_close(gchar **save_file , int *err ) ;   10055 extern gboolean ringbuf_libpcap_dump_close(gchar **save_file , int *err ) ;
10056 extern void ringbuf_free(void) ;   10056 extern void ringbuf_free(void) ;
10057 extern void ringbuf_error_cleanup(void) ;   10057 extern void ringbuf_error_cleanup(void) ;
10058 extern int get_natural_int(char const   *string , char const   *name ) ;   10058 extern int get_natural_int(char const   *string , char const   *name ) ;
10059 extern int get_positive_int(char const   *string , char const   *name ) ;   10059 extern int get_positive_int(char const   *string , char const   *name ) ;
10060 void vfprintf_stderr(char const   *fmt , va_list ap ) ;   10060 void vfprintf_stderr(char const   *fmt , va_list ap ) ;
10061 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...) ;   10061 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...) ;
10062 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...) ;   10062 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...) ;
10063 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...) ;   10063 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...) ;
10064 extern gchar const   *wireshark_svnversion ;   10064 extern gchar const   *wireshark_svnversion ;
10065 extern void get_compiled_version_info(GString *str ,   10065 extern void get_compiled_version_info(GString *str ,
10066                                       void (*prepend_info)(GString * ) ,   10066                                       void (*prepend_info)(GString * ) ,
10067                                       void (*append_info)(GString * ) ) ;   10067                                       void (*append_info)(GString * ) ) ;
10068 extern void get_runtime_version_info(GString *str ,   10068 extern void get_runtime_version_info(GString *str ,
10069                                      void (*additional_info)(GString * ) ) ;   10069                                      void (*additional_info)(GString * ) ) ;
10070 extern char const   *get_copyright_info(void) ;   10070 extern char const   *get_copyright_info(void) ;
10071 extern int bpf_validate(struct bpf_insn  const  *f , int len ) ;   10071 extern int bpf_validate(struct bpf_insn  const  *f , int len ) ;
10072 extern u_int bpf_filter(struct bpf_insn  const  * , u_char const   * , u_int  ,   10072 extern u_int bpf_filter(struct bpf_insn  const  * , u_char const   * , u_int  ,
10073                         u_int  ) ;   10073                         u_int  ) ;
10074 extern char *pcap_lookupdev(char * ) ;   10074 extern char *pcap_lookupdev(char * ) ;
10075 extern int pcap_lookupnet(char const   * , bpf_u_int32 * , bpf_u_int32 * ,   10075 extern int pcap_lookupnet(char const   * , bpf_u_int32 * , bpf_u_int32 * ,
10076                           char * ) ;   10076                           char * ) ;
10077 extern pcap_t *pcap_create(char const   * , char * ) ;   10077 extern pcap_t *pcap_create(char const   * , char * ) ;
10078 extern int pcap_set_snaplen(pcap_t * , int  ) ;   10078 extern int pcap_set_snaplen(pcap_t * , int  ) ;
10079 extern int pcap_set_promisc(pcap_t * , int  ) ;   10079 extern int pcap_set_promisc(pcap_t * , int  ) ;
10080 extern int pcap_can_set_rfmon(pcap_t * ) ;   10080 extern int pcap_can_set_rfmon(pcap_t * ) ;
10081 extern int pcap_set_rfmon(pcap_t * , int  ) ;   10081 extern int pcap_set_rfmon(pcap_t * , int  ) ;
10082 extern int pcap_set_timeout(pcap_t * , int  ) ;   10082 extern int pcap_set_timeout(pcap_t * , int  ) ;
10083 extern int pcap_set_buffer_size(pcap_t * , int  ) ;   10083 extern int pcap_set_buffer_size(pcap_t * , int  ) ;
10084 extern int pcap_activate(pcap_t * ) ;   10084 extern int pcap_activate(pcap_t * ) ;
10085 extern pcap_t *pcap_open_live(char const   * , int  , int  , int  , char * ) ;   10085 extern pcap_t *pcap_open_live(char const   * , int  , int  , int  , char * ) ;
10086 extern pcap_t *pcap_open_dead(int  , int  ) ;   10086 extern pcap_t *pcap_open_dead(int  , int  ) ;
10087 extern pcap_t *pcap_open_offline(char const   * , char * ) ;   10087 extern pcap_t *pcap_open_offline(char const   * , char * ) ;
10088 extern pcap_t *pcap_fopen_offline(FILE * , char * ) ;   10088 extern pcap_t *pcap_fopen_offline(FILE * , char * ) ;
10089 extern void pcap_close(pcap_t * ) ;   10089 extern void pcap_close(pcap_t * ) ;
10090 extern int pcap_loop(pcap_t * , int  ,   10090 extern int pcap_loop(pcap_t * , int  ,
10091                      void (*)(u_char * , struct pcap_pkthdr  const  * ,   10091                      void (*)(u_char * , struct pcap_pkthdr  const  * ,
10092                               u_char const   * ) , u_char * ) ;   10092                               u_char const   * ) , u_char * ) ;
10093 extern int pcap_dispatch(pcap_t * , int  ,   10093 extern int pcap_dispatch(pcap_t * , int  ,
10094                          void (*)(u_char * , struct pcap_pkthdr  const  * ,   10094                          void (*)(u_char * , struct pcap_pkthdr  const  * ,
10095                                   u_char const   * ) , u_char * ) ;   10095                                   u_char const   * ) , u_char * ) ;
10096 extern u_char const   *pcap_next(pcap_t * , struct pcap_pkthdr * ) ;   10096 extern u_char const   *pcap_next(pcap_t * , struct pcap_pkthdr * ) ;
10097 extern int pcap_next_ex(pcap_t * , struct pcap_pkthdr ** , u_char const   ** ) ;   10097 extern int pcap_next_ex(pcap_t * , struct pcap_pkthdr ** , u_char const   ** ) ;
10098 extern void pcap_breakloop(pcap_t * ) ;   10098 extern void pcap_breakloop(pcap_t * ) ;
10099 extern int pcap_stats(pcap_t * , struct pcap_stat * ) ;   10099 extern int pcap_stats(pcap_t * , struct pcap_stat * ) ;
10100 extern int pcap_setfilter(pcap_t * , struct bpf_program * ) ;   10100 extern int pcap_setfilter(pcap_t * , struct bpf_program * ) ;
10101 extern int pcap_setdirection(pcap_t * , pcap_direction_t  ) ;   10101 extern int pcap_setdirection(pcap_t * , pcap_direction_t  ) ;
10102 extern int pcap_getnonblock(pcap_t * , char * ) ;   10102 extern int pcap_getnonblock(pcap_t * , char * ) ;
10103 extern int pcap_setnonblock(pcap_t * , int  , char * ) ;   10103 extern int pcap_setnonblock(pcap_t * , int  , char * ) ;
10104 extern int pcap_inject(pcap_t * , void const   * , size_t  ) ;   10104 extern int pcap_inject(pcap_t * , void const   * , size_t  ) ;
10105 extern int pcap_sendpacket(pcap_t * , u_char const   * , int  ) ;   10105 extern int pcap_sendpacket(pcap_t * , u_char const   * , int  ) ;
10106 extern char const   *pcap_statustostr(int  ) ;   10106 extern char const   *pcap_statustostr(int  ) ;
10107 extern char const   *pcap_strerror(int  ) ;   10107 extern char const   *pcap_strerror(int  ) ;
10108 extern char *pcap_geterr(pcap_t * ) ;   10108 extern char *pcap_geterr(pcap_t * ) ;
10109 extern void pcap_perror(pcap_t * , char * ) ;   10109 extern void pcap_perror(pcap_t * , char * ) ;
10110 extern int pcap_compile(pcap_t * , struct bpf_program * , char const   * ,   10110 extern int pcap_compile(pcap_t * , struct bpf_program * , char const   * ,
10111                         int  , bpf_u_int32  ) ;   10111                         int  , bpf_u_int32  ) ;
10112 extern int pcap_compile_nopcap(int  , int  , struct bpf_program * ,   10112 extern int pcap_compile_nopcap(int  , int  , struct bpf_program * ,
10113                                char const   * , int  , bpf_u_int32  ) ;   10113                                char const   * , int  , bpf_u_int32  ) ;
10114 extern void pcap_freecode(struct bpf_program * ) ;   10114 extern void pcap_freecode(struct bpf_program * ) ;
10115 extern int pcap_offline_filter(struct bpf_program * ,   10115 extern int pcap_offline_filter(struct bpf_program * ,
10116                                struct pcap_pkthdr  const  * , u_char const   * ) ;   10116                                struct pcap_pkthdr  const  * , u_char const   * ) ;
10117 extern int pcap_datalink(pcap_t * ) ;   10117 extern int pcap_datalink(pcap_t * ) ;
10118 extern int pcap_datalink_ext(pcap_t * ) ;   10118 extern int pcap_datalink_ext(pcap_t * ) ;
10119 extern int pcap_list_datalinks(pcap_t * , int ** ) ;   10119 extern int pcap_list_datalinks(pcap_t * , int ** ) ;
10120 extern int pcap_set_datalink(pcap_t * , int  ) ;   10120 extern int pcap_set_datalink(pcap_t * , int  ) ;
10121 extern void pcap_free_datalinks(int * ) ;   10121 extern void pcap_free_datalinks(int * ) ;
10122 extern int pcap_datalink_name_to_val(char const   * ) ;   10122 extern int pcap_datalink_name_to_val(char const   * ) ;
10123 extern char const   *pcap_datalink_val_to_name(int  ) ;   10123 extern char const   *pcap_datalink_val_to_name(int  ) ;
10124 extern char const   *pcap_datalink_val_to_description(int  ) ;   10124 extern char const   *pcap_datalink_val_to_description(int  ) ;
10125 extern int pcap_snapshot(pcap_t * ) ;   10125 extern int pcap_snapshot(pcap_t * ) ;
10126 extern int pcap_is_swapped(pcap_t * ) ;   10126 extern int pcap_is_swapped(pcap_t * ) ;
10127 extern int pcap_major_version(pcap_t * ) ;   10127 extern int pcap_major_version(pcap_t * ) ;
10128 extern int pcap_minor_version(pcap_t * ) ;   10128 extern int pcap_minor_version(pcap_t * ) ;
10129 extern FILE *pcap_file(pcap_t * ) ;   10129 extern FILE *pcap_file(pcap_t * ) ;
10130 extern int pcap_fileno(pcap_t * ) ;   10130 extern int pcap_fileno(pcap_t * ) ;
10131 extern pcap_dumper_t *pcap_dump_open(pcap_t * , char const   * ) ;   10131 extern pcap_dumper_t *pcap_dump_open(pcap_t * , char const   * ) ;
10132 extern pcap_dumper_t *pcap_dump_fopen(pcap_t * , FILE *fp ) ;   10132 extern pcap_dumper_t *pcap_dump_fopen(pcap_t * , FILE *fp ) ;
10133 extern FILE *pcap_dump_file(pcap_dumper_t * ) ;   10133 extern FILE *pcap_dump_file(pcap_dumper_t * ) ;
10134 extern long pcap_dump_ftell(pcap_dumper_t * ) ;   10134 extern long pcap_dump_ftell(pcap_dumper_t * ) ;
10135 extern int pcap_dump_flush(pcap_dumper_t * ) ;   10135 extern int pcap_dump_flush(pcap_dumper_t * ) ;
10136 extern void pcap_dump_close(pcap_dumper_t * ) ;   10136 extern void pcap_dump_close(pcap_dumper_t * ) ;
10137 extern void pcap_dump(u_char * , struct pcap_pkthdr  const  * ,   10137 extern void pcap_dump(u_char * , struct pcap_pkthdr  const  * ,
10138                       u_char const   * ) ;   10138                       u_char const   * ) ;
10139 extern int pcap_findalldevs(pcap_if_t ** , char * ) ;   10139 extern int pcap_findalldevs(pcap_if_t ** , char * ) ;
10140 extern void pcap_freealldevs(pcap_if_t * ) ;   10140 extern void pcap_freealldevs(pcap_if_t * ) ;
10141 extern char const   *pcap_lib_version(void) ;   10141 extern char const   *pcap_lib_version(void) ;
10142 extern char *bpf_image(struct bpf_insn  const  * , int  ) ;   10142 extern char *bpf_image(struct bpf_insn  const  * , int  ) ;
10143 extern void bpf_dump(struct bpf_program  const  * , int  ) ;   10143 extern void bpf_dump(struct bpf_program  const  * , int  ) ;
10144 extern int pcap_get_selectable_fd(pcap_t * ) ;   10144 extern int pcap_get_selectable_fd(pcap_t * ) ;
10145 extern GList *get_interface_list(int *err , char **err_str ) ;   10145 extern GList *get_interface_list(int *err , char **err_str ) ;
10146 extern char const   *linktype_val_to_name(int dlt ) ;   10146 extern char const   *linktype_val_to_name(int dlt ) ;
10147 extern int linktype_name_to_val(char const   *linktype ) ;   10147 extern int linktype_name_to_val(char const   *linktype ) ;
10148 extern void get_compiled_pcap_version(GString *str ) ;   10148 extern void get_compiled_pcap_version(GString *str ) ;
10149 extern void get_runtime_pcap_version(GString *str ) ;   10149 extern void get_runtime_pcap_version(GString *str ) ;
10150 extern FILE *libpcap_fdopen(int fd , int *err ) ;   10150 extern FILE *libpcap_fdopen(int fd , int *err ) ;
10151 extern gboolean libpcap_write_file_header(FILE *fp , int linktype ,   10151 extern gboolean libpcap_write_file_header(FILE *fp , int linktype ,
10152                                           int snaplen , long *bytes_written ,   10152                                           int snaplen , long *bytes_written ,
10153                                           int *err ) ;   10153                                           int *err ) ;
10154 extern gboolean libpcap_write_packet(FILE *fp ,   10154 extern gboolean libpcap_write_packet(FILE *fp ,
10155                                      struct pcap_pkthdr  const  *phdr ,   10155                                      struct pcap_pkthdr  const  *phdr ,
10156                                      u_char const   *pd , long *bytes_written ,   10156                                      u_char const   *pd , long *bytes_written ,
10157                                      int *err ) ;   10157                                      int *err ) ;
10158 extern gboolean libpcap_write_session_header_block(FILE *fp , char *appname ,   10158 extern gboolean libpcap_write_session_header_block(FILE *fp , char *appname ,
10159                                                    long *bytes_written ,   10159                                                    long *bytes_written ,
10160                                                    int *err ) ;   10160                                                    int *err ) ;
10161 extern gboolean libpcap_write_interface_description_block(FILE *fp ,   10161 extern gboolean libpcap_write_interface_description_block(FILE *fp ,
10162                                                           char *name ,   10162                                                           char *name ,
10163                                                           char *filter ,   10163                                                           char *filter ,
10164                                                           int link_type ,   10164                                                           int link_type ,
10165                                                           int snap_len ,   10165                                                           int snap_len ,
10166                                                           long *bytes_written ,   10166                                                           long *bytes_written ,
10167                                                           int *err ) ;   10167                                                           int *err ) ;
10168 extern gboolean libpcap_write_interface_statistics_block(FILE *fp ,   10168 extern gboolean libpcap_write_interface_statistics_block(FILE *fp ,
10169                                                          guint32 interface_id ,   10169                                                          guint32 interface_id ,
10170                                                          pcap_t *pd ,   10170                                                          pcap_t *pd ,
10171                                                          long *bytes_written ,   10171                                                          long *bytes_written ,
10172                                                          int *err ) ;   10172                                                          int *err ) ;
10173 extern gboolean libpcap_write_enhanced_packet_block(FILE *fp ,   10173 extern gboolean libpcap_write_enhanced_packet_block(FILE *fp ,
10174                                                     struct pcap_pkthdr  const  *phdr ,   10174                                                     struct pcap_pkthdr  const  *phdr ,
10175                                                     guint32 interface_id ,   10175                                                     guint32 interface_id ,
10176                                                     u_char const   *pd ,   10176                                                     u_char const   *pd ,
10177                                                     long *bytes_written ,   10177                                                     long *bytes_written ,
10178                                                     int *err ) ;   10178                                                     int *err ) ;
10179 extern gboolean libpcap_dump_flush(FILE *pd , int *err ) ;   10179 extern gboolean libpcap_dump_flush(FILE *pd , int *err ) ;
10180 extern gboolean libpcap_dump_close(FILE *pd , int *err ) ;   10180 extern gboolean libpcap_dump_close(FILE *pd , int *err ) ;
10181 extern void init_process_policies(void) ;   10181 extern void init_process_policies(void) ;
10182 extern gboolean started_with_special_privs(void) ;   10182 extern gboolean started_with_special_privs(void) ;
10183 extern gboolean running_with_special_privs(void) ;   10183 extern gboolean running_with_special_privs(void) ;
10184 extern void relinquish_special_privs_perm(void) ;   10184 extern void relinquish_special_privs_perm(void) ;
10185 extern gchar *get_cur_username(void) ;   10185 extern gchar *get_cur_username(void) ;
10186 extern gchar *get_cur_groupname(void) ;   10186 extern gchar *get_cur_groupname(void) ;
10187 extern int pipe_write_header(int pipe_fd , char indicator , int length ) ;   10187 extern int pipe_write_header(int pipe_fd , char indicator , int length ) ;
10188 extern void pipe_write_block(int pipe_fd , char indicator , char const   *msg ) ;   10188 extern void pipe_write_block(int pipe_fd , char indicator , char const   *msg ) ;
10189 extern void sync_pipe_errmsg_to_parent(int pipe_fd , char const   *error_msg ,   10189 extern void sync_pipe_errmsg_to_parent(int pipe_fd , char const   *error_msg ,
10190                                        char const   *secondary_error_msg ) ;   10190                                        char const   *secondary_error_msg ) ;
10191 GList *capture_interface_list(int *err , char **err_str ) ;   10191 GList *capture_interface_list(int *err , char **err_str ) ;
10192 extern void free_interface_list(GList *if_list ) ;   10192 extern void free_interface_list(GList *if_list ) ;
10193 extern if_capabilities_t *capture_get_if_capabilities(char const   *devname ,   10193 extern if_capabilities_t *capture_get_if_capabilities(char const   *devname ,
10194                                                       gboolean monitor_mode ,   10194                                                       gboolean monitor_mode ,
10195                                                       char **err_str ) ;   10195                                                       char **err_str ) ;
10196 extern void free_if_capabilities(if_capabilities_t *caps ) ;   10196 extern void free_if_capabilities(if_capabilities_t *caps ) ;
10197 extern void capture_opts_init(capture_options *capture_opts , void *cf ) ;   10197 extern void capture_opts_init(capture_options *capture_opts , void *cf ) ;
10198 extern int capture_opts_add_opt(capture_options *capture_opts , int opt ,   10198 extern int capture_opts_add_opt(capture_options *capture_opts , int opt ,
10199                                 char const   *optarg , gboolean *start_capture ) ;   10199                                 char const   *optarg , gboolean *start_capture ) ;
10200 extern void capture_opts_log(char const   *log_domain ,   10200 extern void capture_opts_log(char const   *log_domain ,
10201                              GLogLevelFlags log_level ,   10201                              GLogLevelFlags log_level ,
10202                              capture_options *capture_opts ) ;   10202                              capture_options *capture_opts ) ;
10203 extern void capture_opts_print_if_capabilities(if_capabilities_t *caps ,   10203 extern void capture_opts_print_if_capabilities(if_capabilities_t *caps ,
10204                                                char *name ,   10204                                                char *name ,
10205                                                gboolean monitor_mode ) ;   10205                                                gboolean monitor_mode ) ;
10206 extern void capture_opts_print_interfaces(GList *if_list ) ;   10206 extern void capture_opts_print_interfaces(GList *if_list ) ;
10207 extern void capture_opts_trim_snaplen(capture_options *capture_opts ,   10207 extern void capture_opts_trim_snaplen(capture_options *capture_opts ,
10208                                       int snaplen_min ) ;   10208                                       int snaplen_min ) ;
10209 extern void capture_opts_trim_ring_num_files(capture_options *capture_opts ) ;   10209 extern void capture_opts_trim_ring_num_files(capture_options *capture_opts ) ;
10210 extern gboolean capture_opts_trim_iface(capture_options *capture_opts ,   10210 extern gboolean capture_opts_trim_iface(capture_options *capture_opts ,
10211                                         char const   *capture_device ) ;   10211                                         char const   *capture_device ) ;
10212 extern gboolean sync_pipe_start(capture_options *capture_opts ) ;   10212 extern gboolean sync_pipe_start(capture_options *capture_opts ) ;
10213 extern void sync_pipe_stop(capture_options *capture_opts ) ;   10213 extern void sync_pipe_stop(capture_options *capture_opts ) ;
10214 extern void sync_pipe_kill(int fork_child ) ;   10214 extern void sync_pipe_kill(int fork_child ) ;
10215 extern int sync_interface_list_open(gchar **data , gchar **primary_msg ,   10215 extern int sync_interface_list_open(gchar **data , gchar **primary_msg ,
10216                                     gchar **secondary_msg ) ;   10216                                     gchar **secondary_msg ) ;
10217 extern int sync_if_capabilities_open(gchar const   *ifname ,   10217 extern int sync_if_capabilities_open(gchar const   *ifname ,
10218                                      gboolean monitor_mode , gchar **data ,   10218                                      gboolean monitor_mode , gchar **data ,
10219                                      gchar **primary_msg ,   10219                                      gchar **primary_msg ,
10220                                      gchar **secondary_msg ) ;   10220                                      gchar **secondary_msg ) ;
10221 extern int sync_interface_stats_open(int *read_fd , int *fork_child ,   10221 extern int sync_interface_stats_open(int *read_fd , int *fork_child ,
10222                                      gchar **msg ) ;   10222                                      gchar **msg ) ;
10223 extern int sync_interface_stats_close(int *read_fd , int *fork_child ,   10223 extern int sync_interface_stats_close(int *read_fd , int *fork_child ,
10224                                       gchar **msg ) ;   10224                                       gchar **msg ) ;
10225 extern int sync_pipe_gets_nonblock(int pipe_fd , char *bytes , int max ) ;   10225 extern int sync_pipe_gets_nonblock(int pipe_fd , char *bytes , int max ) ;
10226 extern condition *cnd_new(char const   *  , ...) ;   10226 extern condition *cnd_new(char const   *  , ...) ;
10227 extern void cnd_delete(condition * ) ;   10227 extern void cnd_delete(condition * ) ;
10228 extern gboolean cnd_eval(condition *  , ...) ;   10228 extern gboolean cnd_eval(condition *  , ...) ;
10229 extern void cnd_reset(condition * ) ;   10229 extern void cnd_reset(condition * ) ;
10230 extern gboolean cnd_register_class(char const   * ,   10230 extern gboolean cnd_register_class(char const   * ,
10231                                    condition *(*)(condition * , va_list  ) ,   10231                                    condition *(*)(condition * , va_list  ) ,
10232                                    void (*)(condition * ) ,   10232                                    void (*)(condition * ) ,
10233                                    gboolean (*)(condition * , va_list  ) ,   10233                                    gboolean (*)(condition * , va_list  ) ,
10234                                    void (*)(condition * ) ) ;   10234                                    void (*)(condition * ) ) ;
10235 extern void cnd_unregister_class(char const   * ) ;   10235 extern void cnd_unregister_class(char const   * ) ;
10236 extern void *cnd_get_user_data(condition * ) ;   10236 extern void *cnd_get_user_data(condition * ) ;
10237 extern void cnd_set_user_data(condition * , void * ) ;   10237 extern void cnd_set_user_data(condition * , void * ) ;
10238 extern void init_capture_stop_conditions(void) ;   10238 extern void init_capture_stop_conditions(void) ;
10239 extern void cleanup_capture_stop_conditions(void) ;   10239 extern void cleanup_capture_stop_conditions(void) ;
10240 extern char const   *CND_CLASS_TIMEOUT ;   10240 extern char const   *CND_CLASS_TIMEOUT ;
10241 extern char const   *CND_CLASS_CAPTURESIZE ;   10241 extern char const   *CND_CLASS_CAPTURESIZE ;
10242 extern int create_tempfile(char **namebuf , char const   *pfx ) ;   10242 extern int create_tempfile(char **namebuf , char const   *pfx ) ;
10243 extern char const   *create_tempdir(char **namebuf , char const   *pfx ) ;   10243 extern char const   *create_tempdir(char **namebuf , char const   *pfx ) ;
10244 extern int libpcap_open(wtap *wth , int *err , gchar **err_info ) ;   10244 extern int libpcap_open(wtap *wth , int *err , gchar **err_info ) ;
10245 extern gboolean libpcap_dump_open(wtap_dumper *wdh , int *err ) ;   10245 extern gboolean libpcap_dump_open(wtap_dumper *wdh , int *err ) ;
10246 extern int libpcap_dump_can_write_encap(int encap ) ;   10246 extern int libpcap_dump_can_write_encap(int encap ) ;
10247 FILE *debug_log  ;   10247 FILE *debug_log  ;
10248 static gboolean capture_child  =    0;   10248 static gboolean capture_child  =    0;
10249 static void capture_loop_stop(void) ;   10249 static void capture_loop_stop(void) ;
10250 static char const   please_report[104]  =   10250 static char const   please_report[104]  =
10251   {      (char const   )'P',      (char const   )'l',      (char const   )'e',      (char const   )'a',   10251   {      (char const   )'P',      (char const   )'l',      (char const   )'e',      (char const   )'a',
10252         (char const   )'s',      (char const   )'e',      (char const   )' ',      (char const   )'r',   10252         (char const   )'s',      (char const   )'e',      (char const   )' ',      (char const   )'r',
10253         (char const   )'e',      (char const   )'p',      (char const   )'o',      (char const   )'r',   10253         (char const   )'e',      (char const   )'p',      (char const   )'o',      (char const   )'r',
10254         (char const   )'t',      (char const   )' ',      (char const   )'t',      (char const   )'h',   10254         (char const   )'t',      (char const   )' ',      (char const   )'t',      (char const   )'h',
10255         (char const   )'i',      (char const   )'s',      (char const   )' ',      (char const   )'t',   10255         (char const   )'i',      (char const   )'s',      (char const   )' ',      (char const   )'t',
10256         (char const   )'o',      (char const   )' ',      (char const   )'t',      (char const   )'h',   10256         (char const   )'o',      (char const   )' ',      (char const   )'t',      (char const   )'h',
10257         (char const   )'e',      (char const   )' ',      (char const   )'W',      (char const   )'i',   10257         (char const   )'e',      (char const   )' ',      (char const   )'W',      (char const   )'i',
10258         (char const   )'r',      (char const   )'e',      (char const   )'s',      (char const   )'h',   10258         (char const   )'r',      (char const   )'e',      (char const   )'s',      (char const   )'h',
10259         (char const   )'a',      (char const   )'r',      (char const   )'k',      (char const   )' ',   10259         (char const   )'a',      (char const   )'r',      (char const   )'k',      (char const   )' ',
10260         (char const   )'d',      (char const   )'e',      (char const   )'v',      (char const   )'e',   10260         (char const   )'d',      (char const   )'e',      (char const   )'v',      (char const   )'e',
10261         (char const   )'l',      (char const   )'o',      (char const   )'p',      (char const   )'e',   10261         (char const   )'l',      (char const   )'o',      (char const   )'p',      (char const   )'e',
10262         (char const   )'r',      (char const   )'s',      (char const   )'.',      (char const   )'\n',   10262         (char const   )'r',      (char const   )'s',      (char const   )'.',      (char const   )'\n',
10263         (char const   )'(',      (char const   )'T',      (char const   )'h',      (char const   )'i',   10263         (char const   )'(',      (char const   )'T',      (char const   )'h',      (char const   )'i',
10264         (char const   )'s',      (char const   )' ',      (char const   )'i',      (char const   )'s',   10264         (char const   )'s',      (char const   )' ',      (char const   )'i',      (char const   )'s',
10265         (char const   )' ',      (char const   )'n',      (char const   )'o',      (char const   )'t',   10265         (char const   )' ',      (char const   )'n',      (char const   )'o',      (char const   )'t',
10266         (char const   )' ',      (char const   )'a',      (char const   )' ',      (char const   )'c',   10266         (char const   )' ',      (char const   )'a',      (char const   )' ',      (char const   )'c',
10267         (char const   )'r',      (char const   )'a',      (char const   )'s',      (char const   )'h',   10267         (char const   )'r',      (char const   )'a',      (char const   )'s',      (char const   )'h',
10268         (char const   )';',      (char const   )' ',      (char const   )'p',      (char const   )'l',   10268         (char const   )';',      (char const   )' ',      (char const   )'p',      (char const   )'l',
10269         (char const   )'e',      (char const   )'a',      (char const   )'s',      (char const   )'e',   10269         (char const   )'e',      (char const   )'a',      (char const   )'s',      (char const   )'e',
10270         (char const   )' ',      (char const   )'d',      (char const   )'o',      (char const   )' ',   10270         (char const   )' ',      (char const   )'d',      (char const   )'o',      (char const   )' ',
10271         (char const   )'n',      (char const   )'o',      (char const   )'t',      (char const   )' ',   10271         (char const   )'n',      (char const   )'o',      (char const   )'t',      (char const   )' ',
10272         (char const   )'r',      (char const   )'e',      (char const   )'p',      (char const   )'o',   10272         (char const   )'r',      (char const   )'e',      (char const   )'p',      (char const   )'o',
10273         (char const   )'r',      (char const   )'t',      (char const   )' ',      (char const   )'i',   10273         (char const   )'r',      (char const   )'t',      (char const   )' ',      (char const   )'i',
10274         (char const   )'t',      (char const   )' ',      (char const   )'a',      (char const   )'s',   10274         (char const   )'t',      (char const   )' ',      (char const   )'a',      (char const   )'s',
10275         (char const   )' ',      (char const   )'s',      (char const   )'u',      (char const   )'c',   10275         (char const   )' ',      (char const   )'s',      (char const   )'u',      (char const   )'c',
10276         (char const   )'h',      (char const   )'.',      (char const   )')',      (char const   )'\000'};   10276         (char const   )'h',      (char const   )'.',      (char const   )')',      (char const   )'\000'};
10277 static loop_data global_ld  ;   10277 static loop_data global_ld  ;
10278 static char const   *cap_pipe_err_str  ;   10278 static char const   *cap_pipe_err_str  ;
10279 static void console_log_handler(char const   *log_domain ,   10279 static void console_log_handler(char const   *log_domain ,
10280                                 GLogLevelFlags log_level ,   10280                                 GLogLevelFlags log_level ,
10281                                 char const   *message ,   10281                                 char const   *message ,
10282                                 gpointer user_data  __attribute__((__unused__)) ) ;   10282                                 gpointer user_data  __attribute__((__unused__)) ) ;
10283 static capture_options global_capture_opts  ;   10283 static capture_options global_capture_opts  ;
10284 static gboolean quiet  =    0;   10284 static gboolean quiet  =    0;
10285 static void capture_loop_packet_cb(u_char *user ,   10285 static void capture_loop_packet_cb(u_char *user ,
10286                                    struct pcap_pkthdr  const  *phdr ,   10286                                    struct pcap_pkthdr  const  *phdr ,
10287                                    u_char const   *pd ) ;   10287                                    u_char const   *pd ) ;
10288 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,   10288 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,
10289                                     char const   *fname , int err ,   10289                                     char const   *fname , int err ,
10290                                     gboolean is_close ) ;   10290                                     gboolean is_close ) ;
10291 static  __attribute__((__noreturn__)) void exit_main(int status ) ;   10291 static  __attribute__((__noreturn__)) void exit_main(int status ) ;
10292 static void report_new_capture_file(char const   *filename ) ;   10292 static void report_new_capture_file(char const   *filename ) ;
10293 static void report_packet_count(int packet_count ) ;   10293 static void report_packet_count(int packet_count ) ;
10294 static void report_packet_drops(guint32 received , guint32 drops , gchar *name ) ;   10294 static void report_packet_drops(guint32 received , guint32 drops , gchar *name ) ;
10295 static void report_capture_error(char const   *error_msg ,   10295 static void report_capture_error(char const   *error_msg ,
10296                                  char const   *secondary_error_msg ) ;   10296                                  char const   *secondary_error_msg ) ;
10297 static void report_cfilter_error(char const   *cfilter , char const   *errmsg ) ;   10297 static void report_cfilter_error(char const   *cfilter , char const   *errmsg ) ;
10298 static void print_usage(gboolean print_ver )   10298 static void print_usage(gboolean print_ver )
10299 {   10299 {
10300   FILE *output ;   10300   FILE *output ;
10301     10301  
10302   {   10302   {
10303   if (print_ver) {   10303   if (print_ver) {
10304     output = stdout;   10304     output = stdout;
10305     fprintf((FILE */* __restrict  */)output,   10305     fprintf((FILE */* __restrict  */)output,
10306             (char const   */* __restrict  */)"Dumpcap 1.7.0%s\nCapture network packets and dump them into a libpcap file.\nSee http://www.wireshark.org for more information.\n",   10306             (char const   */* __restrict  */)"Dumpcap 1.7.0%s\nCapture network packets and dump them into a libpcap file.\nSee http://www.wireshark.org for more information.\n",
10307             wireshark_svnversion);   10307             wireshark_svnversion);
10308   } else {   10308   } else {
10309     output = stderr;   10309     output = stderr;
10310   }   10310   }
10311   fprintf((FILE */* __restrict  */)output,   10311   fprintf((FILE */* __restrict  */)output,
10312           (char const   */* __restrict  */)"\nUsage: dumpcap [options] ...\n");   10312           (char const   */* __restrict  */)"\nUsage: dumpcap [options] ...\n");
10313   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10313   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10314   fprintf((FILE */* __restrict  */)output,   10314   fprintf((FILE */* __restrict  */)output,
10315           (char const   */* __restrict  */)"Capture interface:\n");   10315           (char const   */* __restrict  */)"Capture interface:\n");
10316   fprintf((FILE */* __restrict  */)output,   10316   fprintf((FILE */* __restrict  */)output,
10317           (char const   */* __restrict  */)"  -i <interface>           name or idx of interface (def: first non-loopback)\n");   10317           (char const   */* __restrict  */)"  -i <interface>           name or idx of interface (def: first non-loopback)\n");
10318   fprintf((FILE */* __restrict  */)output,   10318   fprintf((FILE */* __restrict  */)output,
10319           (char const   */* __restrict  */)"  -f <capture filter>      packet filter in libpcap filter syntax\n");   10319           (char const   */* __restrict  */)"  -f <capture filter>      packet filter in libpcap filter syntax\n");
10320   fprintf((FILE */* __restrict  */)output,   10320   fprintf((FILE */* __restrict  */)output,
10321           (char const   */* __restrict  */)"  -s <snaplen>             packet snapshot length (def: 65535)\n");   10321           (char const   */* __restrict  */)"  -s <snaplen>             packet snapshot length (def: 65535)\n");
10322   fprintf((FILE */* __restrict  */)output,   10322   fprintf((FILE */* __restrict  */)output,
10323           (char const   */* __restrict  */)"  -p                       don\'t capture in promiscuous mode\n");   10323           (char const   */* __restrict  */)"  -p                       don\'t capture in promiscuous mode\n");
10324   fprintf((FILE */* __restrict  */)output,   10324   fprintf((FILE */* __restrict  */)output,
10325           (char const   */* __restrict  */)"  -I                       capture in monitor mode, if available\n");   10325           (char const   */* __restrict  */)"  -I                       capture in monitor mode, if available\n");
10326   fprintf((FILE */* __restrict  */)output,   10326   fprintf((FILE */* __restrict  */)output,
10327           (char const   */* __restrict  */)"  -B <buffer size>         size of kernel buffer (def: 1MB)\n");   10327           (char const   */* __restrict  */)"  -B <buffer size>         size of kernel buffer (def: 1MB)\n");
10328   fprintf((FILE */* __restrict  */)output,   10328   fprintf((FILE */* __restrict  */)output,
10329           (char const   */* __restrict  */)"  -y <link type>           link layer type (def: first appropriate)\n");   10329           (char const   */* __restrict  */)"  -y <link type>           link layer type (def: first appropriate)\n");
10330   fprintf((FILE */* __restrict  */)output,   10330   fprintf((FILE */* __restrict  */)output,
10331           (char const   */* __restrict  */)"  -D                       print list of interfaces and exit\n");   10331           (char const   */* __restrict  */)"  -D                       print list of interfaces and exit\n");
10332   fprintf((FILE */* __restrict  */)output,   10332   fprintf((FILE */* __restrict  */)output,
10333           (char const   */* __restrict  */)"  -L                       print list of link-layer types of iface and exit\n");   10333           (char const   */* __restrict  */)"  -L                       print list of link-layer types of iface and exit\n");
10334   fprintf((FILE */* __restrict  */)output,   10334   fprintf((FILE */* __restrict  */)output,
10335           (char const   */* __restrict  */)"  -d                       print generated BPF code for capture filter\n");   10335           (char const   */* __restrict  */)"  -d                       print generated BPF code for capture filter\n");
10336   fprintf((FILE */* __restrict  */)output,   10336   fprintf((FILE */* __restrict  */)output,
10337           (char const   */* __restrict  */)"  -S                       print statistics for each interface once every second\n");   10337           (char const   */* __restrict  */)"  -S                       print statistics for each interface once every second\n");
10338   fprintf((FILE */* __restrict  */)output,   10338   fprintf((FILE */* __restrict  */)output,
10339           (char const   */* __restrict  */)"  -M                       for -D, -L, and -S, produce machine-readable output\n");   10339           (char const   */* __restrict  */)"  -M                       for -D, -L, and -S, produce machine-readable output\n");
10340   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10340   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10341   fprintf((FILE */* __restrict  */)output,   10341   fprintf((FILE */* __restrict  */)output,
10342           (char const   */* __restrict  */)"Stop conditions:\n");   10342           (char const   */* __restrict  */)"Stop conditions:\n");
10343   fprintf((FILE */* __restrict  */)output,   10343   fprintf((FILE */* __restrict  */)output,
10344           (char const   */* __restrict  */)"  -c <packet count>        stop after n packets (def: infinite)\n");   10344           (char const   */* __restrict  */)"  -c <packet count>        stop after n packets (def: infinite)\n");
10345   fprintf((FILE */* __restrict  */)output,   10345   fprintf((FILE */* __restrict  */)output,
10346           (char const   */* __restrict  */)"  -a <autostop cond.> ...  duration:NUM - stop after NUM seconds\n");   10346           (char const   */* __restrict  */)"  -a <autostop cond.> ...  duration:NUM - stop after NUM seconds\n");
10347   fprintf((FILE */* __restrict  */)output,   10347   fprintf((FILE */* __restrict  */)output,
10348           (char const   */* __restrict  */)"                           filesize:NUM - stop this file after NUM KB\n");   10348           (char const   */* __restrict  */)"                           filesize:NUM - stop this file after NUM KB\n");
10349   fprintf((FILE */* __restrict  */)output,   10349   fprintf((FILE */* __restrict  */)output,
10350           (char const   */* __restrict  */)"                              files:NUM - stop after NUM files\n");   10350           (char const   */* __restrict  */)"                              files:NUM - stop after NUM files\n");
10351   fprintf((FILE */* __restrict  */)output,   10351   fprintf((FILE */* __restrict  */)output,
10352           (char const   */* __restrict  */)"Output (files):\n");   10352           (char const   */* __restrict  */)"Output (files):\n");
10353   fprintf((FILE */* __restrict  */)output,   10353   fprintf((FILE */* __restrict  */)output,
10354           (char const   */* __restrict  */)"  -w <filename>            name of file to save (def: tempfile)\n");   10354           (char const   */* __restrict  */)"  -w <filename>            name of file to save (def: tempfile)\n");
10355   fprintf((FILE */* __restrict  */)output,   10355   fprintf((FILE */* __restrict  */)output,
10356           (char const   */* __restrict  */)"  -g                       enable group read access on the output file(s)\n");   10356           (char const   */* __restrict  */)"  -g                       enable group read access on the output file(s)\n");
10357   fprintf((FILE */* __restrict  */)output,   10357   fprintf((FILE */* __restrict  */)output,
10358           (char const   */* __restrict  */)"  -b <ringbuffer opt.> ... duration:NUM - switch to next file after NUM secs\n");   10358           (char const   */* __restrict  */)"  -b <ringbuffer opt.> ... duration:NUM - switch to next file after NUM secs\n");
10359   fprintf((FILE */* __restrict  */)output,   10359   fprintf((FILE */* __restrict  */)output,
10360           (char const   */* __restrict  */)"                           filesize:NUM - switch to next file after NUM KB\n");   10360           (char const   */* __restrict  */)"                           filesize:NUM - switch to next file after NUM KB\n");
10361   fprintf((FILE */* __restrict  */)output,   10361   fprintf((FILE */* __restrict  */)output,
10362           (char const   */* __restrict  */)"                              files:NUM - ringbuffer: replace after NUM files\n");   10362           (char const   */* __restrict  */)"                              files:NUM - ringbuffer: replace after NUM files\n");
10363   fprintf((FILE */* __restrict  */)output,   10363   fprintf((FILE */* __restrict  */)output,
10364           (char const   */* __restrict  */)"  -n                       use pcapng format instead of pcap\n");   10364           (char const   */* __restrict  */)"  -n                       use pcapng format instead of pcap\n");
10365   fprintf((FILE */* __restrict  */)output,   10365   fprintf((FILE */* __restrict  */)output,
10366           (char const   */* __restrict  */)"Miscellaneous:\n");   10366           (char const   */* __restrict  */)"Miscellaneous:\n");
10367   fprintf((FILE */* __restrict  */)output,   10367   fprintf((FILE */* __restrict  */)output,
10368           (char const   */* __restrict  */)"  -q                       don\'t report packet capture counts\n");   10368           (char const   */* __restrict  */)"  -q                       don\'t report packet capture counts\n");
10369   fprintf((FILE */* __restrict  */)output,   10369   fprintf((FILE */* __restrict  */)output,
10370           (char const   */* __restrict  */)"  -v                       print version information and exit\n");   10370           (char const   */* __restrict  */)"  -v                       print version information and exit\n");
10371   fprintf((FILE */* __restrict  */)output,   10371   fprintf((FILE */* __restrict  */)output,
10372           (char const   */* __restrict  */)"  -h                       display this help and exit\n");   10372           (char const   */* __restrict  */)"  -h                       display this help and exit\n");
10373   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10373   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10374   fprintf((FILE */* __restrict  */)output,   10374   fprintf((FILE */* __restrict  */)output,
10375           (char const   */* __restrict  */)"Example: dumpcap -i eth0 -a duration:60 -w output.pcap\n");   10375           (char const   */* __restrict  */)"Example: dumpcap -i eth0 -a duration:60 -w output.pcap\n");
10376   fprintf((FILE */* __restrict  */)output,   10376   fprintf((FILE */* __restrict  */)output,
10377           (char const   */* __restrict  */)"\"Capture network packets from interface eth0 until 60s passed into output.pcap\"\n");   10377           (char const   */* __restrict  */)"\"Capture network packets from interface eth0 until 60s passed into output.pcap\"\n");
10378   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10378   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10379   fprintf((FILE */* __restrict  */)output,   10379   fprintf((FILE */* __restrict  */)output,
10380           (char const   */* __restrict  */)"Use Ctrl-C to stop capturing at any time.\n");   10380           (char const   */* __restrict  */)"Use Ctrl-C to stop capturing at any time.\n");
10381   return;   10381   return;
10382 }   10382 }
10383 }   10383 }
10384 static void show_version(GString *comp_info_str , GString *runtime_info_str )   10384 static void show_version(GString *comp_info_str , GString *runtime_info_str )
10385 {   10385 {
10386   char const   *tmp ;   10386   char const   *tmp ;
10387     10387  
10388   {   10388   {
10389   tmp = get_copyright_info();   10389   tmp = get_copyright_info();
10390   printf((char const   */* __restrict  */)"Dumpcap 1.7.0%s\n\n%s\n%s\n%s\nSee http://www.wireshark.org for more information.\n",   10390   printf((char const   */* __restrict  */)"Dumpcap 1.7.0%s\n\n%s\n%s\n%s\nSee http://www.wireshark.org for more information.\n",
10391          wireshark_svnversion, tmp, comp_info_str->str, runtime_info_str->str);   10391          wireshark_svnversion, tmp, comp_info_str->str, runtime_info_str->str);
10392   return;   10392   return;
10393 }   10393 }
10394 }   10394 }
10395 void vfprintf_stderr(char const   *fmt , va_list ap )   10395 void vfprintf_stderr(char const   *fmt , va_list ap )
10396 {   10396 {
10397     10397  
10398     10398  
10399   {   10399   {
10400   vfprintf((FILE */* __restrict  */)stderr,   10400   vfprintf((FILE */* __restrict  */)stderr,
10401            (char const   */* __restrict  */)fmt, ap);   10401            (char const   */* __restrict  */)fmt, ap);
10402   return;   10402   return;
10403 }   10403 }
10404 }   10404 }
10405 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...)   10405 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...)
10406 {   10406 {
10407   va_list ap ;   10407   va_list ap ;
10408     10408  
10409   {   10409   {
10410   __builtin_va_start(ap, fmt);   10410   __builtin_va_start(ap, fmt);
10411   vfprintf_stderr(fmt, ap);   10411   vfprintf_stderr(fmt, ap);
10412   __builtin_va_end(ap);   10412   __builtin_va_end(ap);
10413   return;   10413   return;
10414 }   10414 }
10415 }   10415 }
10416 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...)   10416 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...)
10417 {   10417 {
10418   va_list ap ;   10418   va_list ap ;
10419   gchar *msg ;   10419   gchar *msg ;
10420     10420  
10421   {   10421   {
10422   if (capture_child) {   10422   if (capture_child) {
10423     __builtin_va_start(ap, fmt);   10423     __builtin_va_start(ap, fmt);
10424     msg = g_strdup_vprintf(fmt, ap);   10424     msg = g_strdup_vprintf(fmt, ap);
10425     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   10425     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
10426     g_free((gpointer )msg);   10426     g_free((gpointer )msg);
10427     __builtin_va_end(ap);   10427     __builtin_va_end(ap);
10428   } else {   10428   } else {
10429     __builtin_va_start(ap, fmt);   10429     __builtin_va_start(ap, fmt);
10430     fprintf((FILE */* __restrict  */)stderr,   10430     fprintf((FILE */* __restrict  */)stderr,
10431             (char const   */* __restrict  */)"dumpcap: ");   10431             (char const   */* __restrict  */)"dumpcap: ");
10432     vfprintf((FILE */* __restrict  */)stderr,   10432     vfprintf((FILE */* __restrict  */)stderr,
10433              (char const   */* __restrict  */)fmt, ap);   10433              (char const   */* __restrict  */)fmt, ap);
10434     fprintf((FILE */* __restrict  */)stderr,   10434     fprintf((FILE */* __restrict  */)stderr,
10435             (char const   */* __restrict  */)"\n");   10435             (char const   */* __restrict  */)"\n");
10436     __builtin_va_end(ap);   10436     __builtin_va_end(ap);
10437   }   10437   }
10438   return;   10438   return;
10439 }   10439 }
10440 }   10440 }
10441 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...)   10441 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...)
10442 {   10442 {
10443   va_list ap ;   10443   va_list ap ;
10444   gchar *msg ;   10444   gchar *msg ;
10445     10445  
10446   {   10446   {
10447   if (capture_child) {   10447   if (capture_child) {
10448     __builtin_va_start(ap, fmt);   10448     __builtin_va_start(ap, fmt);
10449     msg = g_strdup_vprintf(fmt, ap);   10449     msg = g_strdup_vprintf(fmt, ap);
10450     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   10450     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
10451     g_free((gpointer )msg);   10451     g_free((gpointer )msg);
10452     __builtin_va_end(ap);   10452     __builtin_va_end(ap);
10453   } else {   10453   } else {
10454     __builtin_va_start(ap, fmt);   10454     __builtin_va_start(ap, fmt);
10455     vfprintf((FILE */* __restrict  */)stderr,   10455     vfprintf((FILE */* __restrict  */)stderr,
10456              (char const   */* __restrict  */)fmt, ap);   10456              (char const   */* __restrict  */)fmt, ap);
10457     fprintf((FILE */* __restrict  */)stderr,   10457     fprintf((FILE */* __restrict  */)stderr,
10458             (char const   */* __restrict  */)"\n");   10458             (char const   */* __restrict  */)"\n");
10459     __builtin_va_end(ap);   10459     __builtin_va_end(ap);
10460   }   10460   }
10461   return;   10461   return;
10462 }   10462 }
10463 }   10463 }
10464 static pcap_t *open_capture_device(interface_options *interface_opts ,   10464 static pcap_t *open_capture_device(interface_options *interface_opts ,
10465                                    capture_options *capture_opts  __attribute__((__unused__)) ,   10465                                    capture_options *capture_opts  __attribute__((__unused__)) ,
10466                                    char (*open_err_str)[256] )   10466                                    char (*open_err_str)[256] )
10467 {   10467 {
10468   pcap_t *pcap_h ;   10468   pcap_t *pcap_h ;
10469   int err ;   10469   int err ;
10470   char *tmp ;   10470   char *tmp ;
10471   char const   *tmp___0 ;   10471   char const   *tmp___0 ;
10472     10472  
10473   {   10473   {
10474   (*open_err_str)[0] = (char )'\000';   10474   (*open_err_str)[0] = (char )'\000';
10475   pcap_h = pcap_create((char const   *)interface_opts->name, *open_err_str);   10475   pcap_h = pcap_create((char const   *)interface_opts->name, *open_err_str);
10476   if ((unsigned int )pcap_h != (unsigned int )((void *)0)) {   10476   if ((unsigned int )pcap_h != (unsigned int )((void *)0)) {
10477     pcap_set_snaplen(pcap_h, interface_opts->snaplen);   10477     pcap_set_snaplen(pcap_h, interface_opts->snaplen);
10478     pcap_set_promisc(pcap_h, interface_opts->promisc_mode);   10478     pcap_set_promisc(pcap_h, interface_opts->promisc_mode);
10479     pcap_set_timeout(pcap_h, 250);   10479     pcap_set_timeout(pcap_h, 250);
10480     if (interface_opts->buffer_size > 1) {   10480     if (interface_opts->buffer_size > 1) {
10481       pcap_set_buffer_size(pcap_h, (interface_opts->buffer_size * 1024) * 1024);   10481       pcap_set_buffer_size(pcap_h, (interface_opts->buffer_size * 1024) * 1024);
10482     } else {   10482     } else {
10483     10483  
10484     }   10484     }
10485     if (interface_opts->monitor_mode) {   10485     if (interface_opts->monitor_mode) {
10486       pcap_set_rfmon(pcap_h, 1);   10486       pcap_set_rfmon(pcap_h, 1);
10487     } else {   10487     } else {
10488     10488  
10489     }   10489     }
10490     err = pcap_activate(pcap_h);   10490     err = pcap_activate(pcap_h);
10491     if (err < 0) {   10491     if (err < 0) {
10492       if (err == -1) {   10492       if (err == -1) {
10493         tmp = pcap_geterr(pcap_h);   10493         tmp = pcap_geterr(pcap_h);
10494         g_strlcpy(*open_err_str, (gchar const   *)tmp, sizeof(*open_err_str));   10494         g_strlcpy(*open_err_str, (gchar const   *)tmp, sizeof(*open_err_str));
10495       } else {   10495       } else {
10496         tmp___0 = pcap_statustostr(err);   10496         tmp___0 = pcap_statustostr(err);
10497         g_strlcpy(*open_err_str, tmp___0, sizeof(*open_err_str));   10497         g_strlcpy(*open_err_str, tmp___0, sizeof(*open_err_str));
10498       }   10498       }
10499       pcap_close(pcap_h);   10499       pcap_close(pcap_h);
10500       pcap_h = (pcap_t *)((void *)0);   10500       pcap_h = (pcap_t *)((void *)0);
10501     } else {   10501     } else {
10502     10502  
10503     }   10503     }
10504   } else {   10504   } else {
10505     10505  
10506   }   10506   }
10507   relinquish_special_privs_perm();   10507   relinquish_special_privs_perm();
10508   return (pcap_h);   10508   return (pcap_h);
10509 }   10509 }
10510 }   10510 }
10511 static void get_capture_device_open_failure_messages(char const   *open_err_str ,   10511 static void get_capture_device_open_failure_messages(char const   *open_err_str ,
10512                                                      char const   *iface  __attribute__((__unused__)) ,   10512                                                      char const   *iface  __attribute__((__unused__)) ,
10513                                                      char *errmsg ,   10513                                                      char *errmsg ,
10514                                                      size_t errmsg_len ,   10514                                                      size_t errmsg_len ,
10515                                                      char *secondary_errmsg ,   10515                                                      char *secondary_errmsg ,
10516                                                      size_t secondary_errmsg_len ) ;   10516                                                      size_t secondary_errmsg_len ) ;
10517 static char const   ppamsg[20]  =   10517 static char const   ppamsg[20]  =
10518   {      (char const   )'c',      (char const   )'a',      (char const   )'n',      (char const   )'\'',   10518   {      (char const   )'c',      (char const   )'a',      (char const   )'n',      (char const   )'\'',
10519         (char const   )'t',      (char const   )' ',      (char const   )'f',      (char const   )'i',   10519         (char const   )'t',      (char const   )' ',      (char const   )'f',      (char const   )'i',
10520         (char const   )'n',      (char const   )'d',      (char const   )' ',      (char const   )'P',   10520         (char const   )'n',      (char const   )'d',      (char const   )' ',      (char const   )'P',
10521         (char const   )'P',      (char const   )'A',      (char const   )' ',      (char const   )'f',   10521         (char const   )'P',      (char const   )'A',      (char const   )' ',      (char const   )'f',
10522         (char const   )'o',      (char const   )'r',      (char const   )' ',      (char const   )'\000'};   10522         (char const   )'o',      (char const   )'r',      (char const   )' ',      (char const   )'\000'};
10523 static void get_capture_device_open_failure_messages(char const   *open_err_str ,   10523 static void get_capture_device_open_failure_messages(char const   *open_err_str ,
10524                                                      char const   *iface  __attribute__((__unused__)) ,   10524                                                      char const   *iface  __attribute__((__unused__)) ,
10525                                                      char *errmsg ,   10525                                                      char *errmsg ,
10526                                                      size_t errmsg_len ,   10526                                                      size_t errmsg_len ,
10527                                                      char *secondary_errmsg ,   10527                                                      char *secondary_errmsg ,
10528                                                      size_t secondary_errmsg_len )   10528                                                      size_t secondary_errmsg_len )
10529 {   10529 {
10530   char const   *libpcap_warn ;   10530   char const   *libpcap_warn ;
10531   size_t tmp ;   10531   size_t tmp ;
10532   size_t tmp___0 ;   10532   size_t tmp___0 ;
10533   size_t __s1_len ;   10533   size_t __s1_len ;
10534   size_t __s2_len ;   10534   size_t __s2_len ;
10535   int tmp___1 ;   10535   int tmp___1 ;
10536   int tmp___2 ;   10536   int tmp___2 ;
10537   int tmp___3 ;   10537   int tmp___3 ;
10538   unsigned char const   *__s2 ;   10538   unsigned char const   *__s2 ;
10539   register int __result ;   10539   register int __result ;
10540   int tmp___4 ;   10540   int tmp___4 ;
10541   unsigned char const   *__s1 ;   10541   unsigned char const   *__s1 ;
10542   register int __result___0 ;   10542   register int __result___0 ;
10543   int tmp___5 ;   10543   int tmp___5 ;
10544   int tmp___6 ;   10544   int tmp___6 ;
10545   int tmp___7 ;   10545   int tmp___7 ;
10546   int tmp___8 ;   10546   int tmp___8 ;
10547   int tmp___9 ;   10547   int tmp___9 ;
10548   size_t tmp___10 ;   10548   size_t tmp___10 ;
10549   size_t tmp___11 ;   10549   size_t tmp___11 ;
10550     10550  
10551   {   10551   {
10552   if (0) {   10552   if (0) {
10553     if (0) {   10553     if (0) {
10554       __s1_len = strlen(open_err_str);   10554       __s1_len = strlen(open_err_str);
10555       __s2_len = strlen(ppamsg);   10555       __s2_len = strlen(ppamsg);
10556       if (! ((size_t )((void const   *)(open_err_str + 1)) - (size_t )((void const   *)open_err_str) == 1U)) {   10556       if (! ((size_t )((void const   *)(open_err_str + 1)) - (size_t )((void const   *)open_err_str) == 1U)) {
10557         goto _L___0;   10557         goto _L___0;
10558       } else   10558       } else
10559       if (__s1_len >= 4U) {   10559       if (__s1_len >= 4U) {
10560         _L___0: /* CIL Label */   10560         _L___0: /* CIL Label */
10561         if (! ((size_t )((void const   *)(ppamsg + 1)) - (size_t )((void const   *)(ppamsg)) == 1U)) {   10561         if (! ((size_t )((void const   *)(ppamsg + 1)) - (size_t )((void const   *)(ppamsg)) == 1U)) {
10562           tmp___7 = 1;   10562           tmp___7 = 1;
10563         } else   10563         } else
10564         if (__s2_len >= 4U) {   10564         if (__s2_len >= 4U) {
10565           tmp___7 = 1;   10565           tmp___7 = 1;
10566         } else {   10566         } else {
10567           tmp___7 = 0;   10567           tmp___7 = 0;
10568         }   10568         }
10569       } else {   10569       } else {
10570         tmp___7 = 0;   10570         tmp___7 = 0;
10571       }   10571       }
10572       if (tmp___7) {   10572       if (tmp___7) {
10573         tmp___2 = __builtin_strcmp(open_err_str, ppamsg);   10573         tmp___2 = __builtin_strcmp(open_err_str, ppamsg);
10574         tmp___6 = tmp___2;   10574         tmp___6 = tmp___2;
10575       } else {   10575       } else {
10576         tmp___5 = __builtin_strcmp(open_err_str, ppamsg);   10576         tmp___5 = __builtin_strcmp(open_err_str, ppamsg);
10577         tmp___6 = tmp___5;   10577         tmp___6 = tmp___5;
10578       }   10578       }
10579     } else {   10579     } else {
10580       tmp___5 = __builtin_strcmp(open_err_str, ppamsg);   10580       tmp___5 = __builtin_strcmp(open_err_str, ppamsg);
10581       tmp___6 = tmp___5;   10581       tmp___6 = tmp___5;
10582     }   10582     }
10583     tmp___9 = tmp___6;   10583     tmp___9 = tmp___6;
10584   } else {   10584   } else {
10585     tmp___8 = strncmp(open_err_str, ppamsg, sizeof(ppamsg) - 1U);   10585     tmp___8 = strncmp(open_err_str, ppamsg, sizeof(ppamsg) - 1U);
10586     tmp___9 = tmp___8;   10586     tmp___9 = tmp___8;
10587   }   10587   }
10588   if (tmp___9 == 0) {   10588   if (tmp___9 == 0) {
10589     libpcap_warn = "\n\nYou are running (T)Wireshark with a version of the libpcap library\nthat doesn\'t handle HP-UX network devices well; this means that\n(T)Wireshark may not be able to capture packets.\n\nTo fix this, you should install libpcap 0.6.2, or a later version\nof libpcap, rather than libpcap 0.4 or 0.5.x.  It is available in\npackaged binary form from the Software Porting And Archive Centre\nfor HP-UX; the Centre is at http://hpux.connect.org.uk/ - the page\nat the URL lists a number of mirror sites.";   10589     libpcap_warn = "\n\nYou are running (T)Wireshark with a version of the libpcap library\nthat doesn\'t handle HP-UX network devices well; this means that\n(T)Wireshark may not be able to capture packets.\n\nTo fix this, you should install libpcap 0.6.2, or a later version\nof libpcap, rather than libpcap 0.4 or 0.5.x.  It is available in\npackaged binary form from the Software Porting And Archive Centre\nfor HP-UX; the Centre is at http://hpux.connect.org.uk/ - the page\nat the URL lists a number of mirror sites.";
10590   } else {   10590   } else {
10591     libpcap_warn = "";   10591     libpcap_warn = "";
10592   }   10592   }
10593   g_snprintf(errmsg, (gulong )errmsg_len,   10593   g_snprintf(errmsg, (gulong )errmsg_len,
10594              "The capture session could not be initiated (%s).", open_err_str);   10594              "The capture session could not be initiated (%s).", open_err_str);
10595   g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len,   10595   g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len,
10596              "Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.%s",   10596              "Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.%s",
10597              libpcap_warn);   10597              libpcap_warn);
10598   return;   10598   return;
10599 }   10599 }
10600 }   10600 }
10601 static gboolean set_pcap_linktype(pcap_t *pcap_h , int linktype ,   10601 static gboolean set_pcap_linktype(pcap_t *pcap_h , int linktype ,
10602                                   char *name  __attribute__((__unused__)) ,   10602                                   char *name  __attribute__((__unused__)) ,
10603                                   char *errmsg , size_t errmsg_len ,   10603                                   char *errmsg , size_t errmsg_len ,
10604                                   char *secondary_errmsg ,   10604                                   char *secondary_errmsg ,
10605                                   size_t secondary_errmsg_len )   10605                                   size_t secondary_errmsg_len )
10606 {   10606 {
10607   char *set_linktype_err_str ;   10607   char *set_linktype_err_str ;
10608   int tmp ;   10608   int tmp ;
10609   char *tmp___0 ;   10609   char *tmp___0 ;
10610     10610  
10611   {   10611   {
10612   if (linktype == -1) {   10612   if (linktype == -1) {
10613     return (1);   10613     return (1);
10614   } else {   10614   } else {
10615     10615  
10616   }   10616   }
10617   tmp = pcap_set_datalink(pcap_h, linktype);   10617   tmp = pcap_set_datalink(pcap_h, linktype);
10618   if (tmp == 0) {   10618   if (tmp == 0) {
10619     return (1);   10619     return (1);
10620   } else {   10620   } else {
10621     10621  
10622   }   10622   }
10623   set_linktype_err_str = pcap_geterr(pcap_h);   10623   set_linktype_err_str = pcap_geterr(pcap_h);
10624   g_snprintf(errmsg, (gulong )errmsg_len, "Unable to set data link type (%s).",   10624   g_snprintf(errmsg, (gulong )errmsg_len, "Unable to set data link type (%s).",
10625              set_linktype_err_str);   10625              set_linktype_err_str);
10626   tmp___0 = strstr((char const   *)set_linktype_err_str,   10626   tmp___0 = strstr((char const   *)set_linktype_err_str,
10627                    "is not one of the DLTs supported by this device");   10627                    "is not one of the DLTs supported by this device");
10628   if ((unsigned int )tmp___0 == (unsigned int )((void *)0)) {   10628   if ((unsigned int )tmp___0 == (unsigned int )((void *)0)) {
10629     g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len, please_report);   10629     g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len, please_report);
10630   } else {   10630   } else {
10631     *(secondary_errmsg + 0) = (char )'\000';   10631     *(secondary_errmsg + 0) = (char )'\000';
10632   }   10632   }
10633   return (0);   10633   return (0);
10634 }   10634 }
10635 }   10635 }
10636 static gboolean compile_capture_filter(char const   *iface , pcap_t *pcap_h ,   10636 static gboolean compile_capture_filter(char const   *iface , pcap_t *pcap_h ,
10637                                        struct bpf_program *fcode ,   10637                                        struct bpf_program *fcode ,
10638                                        char *cfilter )   10638                                        char *cfilter )
10639 {   10639 {
10640   bpf_u_int32 netnum ;   10640   bpf_u_int32 netnum ;
10641   bpf_u_int32 netmask ;   10641   bpf_u_int32 netmask ;
10642   gchar lookup_net_err_str[256] ;   10642   gchar lookup_net_err_str[256] ;
10643   int tmp ;   10643   int tmp ;
10644   int tmp___0 ;   10644   int tmp___0 ;
10645     10645  
10646   {   10646   {
10647   tmp = pcap_lookupnet(iface, & netnum, & netmask, lookup_net_err_str);   10647   tmp = pcap_lookupnet(iface, & netnum, & netmask, lookup_net_err_str);
10648   if (tmp < 0) {   10648   if (tmp < 0) {
10649     netmask = (bpf_u_int32 )0;   10649     netmask = (bpf_u_int32 )0;
10650   } else {   10650   } else {
10651     10651  
10652   }   10652   }
10653   tmp___0 = pcap_compile(pcap_h, fcode, (char const   *)cfilter, 1, netmask);   10653   tmp___0 = pcap_compile(pcap_h, fcode, (char const   *)cfilter, 1, netmask);
10654   if (tmp___0 < 0) {   10654   if (tmp___0 < 0) {
10655     return (0);   10655     return (0);
10656   } else {   10656   } else {
10657     10657  
10658   }   10658   }
10659   return (1);   10659   return (1);
10660 }   10660 }
10661 }   10661 }
10662 static gboolean show_filter_code(capture_options *capture_opts )   10662 static gboolean show_filter_code(capture_options *capture_opts )
10663 {   10663 {
10664   interface_options interface_opts ;   10664   interface_options interface_opts ;
10665   pcap_t *pcap_h ;   10665   pcap_t *pcap_h ;
10666   gchar open_err_str[256] ;   10666   gchar open_err_str[256] ;
10667   char errmsg[4097] ;   10667   char errmsg[4097] ;
10668   char secondary_errmsg[4097] ;   10668   char secondary_errmsg[4097] ;
10669   struct bpf_program fcode ;   10669   struct bpf_program fcode ;
10670   struct bpf_insn *insn ;   10670   struct bpf_insn *insn ;
10671   u_int i ;   10671   u_int i ;
10672   guint j ;   10672   guint j ;
10673   gboolean tmp ;   10673   gboolean tmp ;
10674   gboolean tmp___0 ;   10674   gboolean tmp___0 ;
10675   char *tmp___1 ;   10675   char *tmp___1 ;
10676     10676  
10677   {   10677   {
10678   j = (guint )0;   10678   j = (guint )0;
10679   while (j < (capture_opts->ifaces)->len) {   10679   while (j < (capture_opts->ifaces)->len) {
10680     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + j);   10680     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + j);
10681     pcap_h = open_capture_device(& interface_opts, capture_opts, & open_err_str);   10681     pcap_h = open_capture_device(& interface_opts, capture_opts, & open_err_str);
10682     if ((unsigned int )pcap_h == (unsigned int )((void *)0)) {   10682     if ((unsigned int )pcap_h == (unsigned int )((void *)0)) {
10683       get_capture_device_open_failure_messages((char const   *)(open_err_str),   10683       get_capture_device_open_failure_messages((char const   *)(open_err_str),
10684                                                (char const   *)interface_opts.name,   10684                                                (char const   *)interface_opts.name,
10685                                                errmsg, sizeof(errmsg),   10685                                                errmsg, sizeof(errmsg),
10686                                                secondary_errmsg,   10686                                                secondary_errmsg,
10687                                                sizeof(secondary_errmsg));   10687                                                sizeof(secondary_errmsg));
10688       report_capture_error((char const   *)(errmsg),   10688       report_capture_error((char const   *)(errmsg),
10689                            (char const   *)(secondary_errmsg));   10689                            (char const   *)(secondary_errmsg));
10690       return (0);   10690       return (0);
10691     } else {   10691     } else {
10692     10692  
10693     }   10693     }
10694     tmp = set_pcap_linktype(pcap_h, interface_opts.linktype,   10694     tmp = set_pcap_linktype(pcap_h, interface_opts.linktype,
10695                             interface_opts.name, errmsg, sizeof(errmsg),   10695                             interface_opts.name, errmsg, sizeof(errmsg),
10696                             secondary_errmsg, sizeof(secondary_errmsg));   10696                             secondary_errmsg, sizeof(secondary_errmsg));
10697     if (tmp) {   10697     if (tmp) {
10698     10698  
10699     } else {   10699     } else {
10700       pcap_close(pcap_h);   10700       pcap_close(pcap_h);
10701       report_capture_error((char const   *)(errmsg),   10701       report_capture_error((char const   *)(errmsg),
10702                            (char const   *)(secondary_errmsg));   10702                            (char const   *)(secondary_errmsg));
10703       return (0);   10703       return (0);
10704     }   10704     }
10705     tmp___0 = compile_capture_filter((char const   *)interface_opts.name,   10705     tmp___0 = compile_capture_filter((char const   *)interface_opts.name,
10706                                      pcap_h, & fcode, interface_opts.cfilter);   10706                                      pcap_h, & fcode, interface_opts.cfilter);
10707     if (tmp___0) {   10707     if (tmp___0) {
10708     10708  
10709     } else {   10709     } else {
10710       pcap_close(pcap_h);   10710       pcap_close(pcap_h);
10711       report_cfilter_error((char const   *)interface_opts.cfilter,   10711       report_cfilter_error((char const   *)interface_opts.cfilter,
10712                            (char const   *)(errmsg));   10712                            (char const   *)(errmsg));
10713       return (0);   10713       return (0);
10714     }   10714     }
10715     pcap_close(pcap_h);   10715     pcap_close(pcap_h);
10716     insn = fcode.bf_insns;   10716     insn = fcode.bf_insns;
10717     i = (u_int )0;   10717     i = (u_int )0;
10718     while (i < fcode.bf_len) {   10718     while (i < fcode.bf_len) {
10719       tmp___1 = bpf_image((struct bpf_insn  const  *)insn, (int )i);   10719       tmp___1 = bpf_image((struct bpf_insn  const  *)insn, (int )i);
10720       printf((char const   */* __restrict  */)"%s\n", tmp___1);   10720       printf((char const   */* __restrict  */)"%s\n", tmp___1);
10721       insn ++;   10721       insn ++;
10722       i ++;   10722       i ++;
10723     }   10723     }
10724     j ++;   10724     j ++;
10725   }   10725   }
10726   if (capture_child) {   10726   if (capture_child) {
10727     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   10727     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
10728   } else {   10728   } else {
10729     10729  
10730   }   10730   }
10731   return (1);   10731   return (1);
10732 }   10732 }
10733 }   10733 }
10734 GList *capture_interface_list(int *err , char **err_str )   10734 GList *capture_interface_list(int *err , char **err_str )
10735 {   10735 {
10736   GList *tmp ;   10736   GList *tmp ;
10737     10737  
10738   {   10738   {
10739   tmp = get_interface_list(err, err_str);   10739   tmp = get_interface_list(err, err_str);
10740   return (tmp);   10740   return (tmp);
10741 }   10741 }
10742 }   10742 }
10743 static int get_pcap_linktype(pcap_t *pch ,   10743 static int get_pcap_linktype(pcap_t *pch ,
10744                              char const   *devname  __attribute__((__unused__)) )   10744                              char const   *devname  __attribute__((__unused__)) )
10745 {   10745 {
10746   int linktype ;   10746   int linktype ;
10747     10747  
10748   {   10748   {
10749   linktype = pcap_datalink(pch);   10749   linktype = pcap_datalink(pch);
10750   return (linktype);   10750   return (linktype);
10751 }   10751 }
10752 }   10752 }
10753 static data_link_info_t *create_data_link_info(int dlt )   10753 static data_link_info_t *create_data_link_info(int dlt )
10754 {   10754 {
10755   data_link_info_t *data_link_info ;   10755   data_link_info_t *data_link_info ;
10756   char const   *text ;   10756   char const   *text ;
10757   gpointer tmp ;   10757   gpointer tmp ;
10758     10758  
10759   {   10759   {
10760   tmp = g_malloc(sizeof(data_link_info_t ));   10760   tmp = g_malloc(sizeof(data_link_info_t ));
10761   data_link_info = (data_link_info_t *)tmp;   10761   data_link_info = (data_link_info_t *)tmp;
10762   data_link_info->dlt = dlt;   10762   data_link_info->dlt = dlt;
10763   text = pcap_datalink_val_to_name(dlt);   10763   text = pcap_datalink_val_to_name(dlt);
10764   if ((unsigned int )text != (unsigned int )((void *)0)) {   10764   if ((unsigned int )text != (unsigned int )((void *)0)) {
10765     data_link_info->name = g_strdup(text);   10765     data_link_info->name = g_strdup(text);
10766   } else {   10766   } else {
10767     data_link_info->name = g_strdup_printf("DLT %d", dlt);   10767     data_link_info->name = g_strdup_printf("DLT %d", dlt);
10768   }   10768   }
10769   text = pcap_datalink_val_to_description(dlt);   10769   text = pcap_datalink_val_to_description(dlt);
10770   if ((unsigned int )text != (unsigned int )((void *)0)) {   10770   if ((unsigned int )text != (unsigned int )((void *)0)) {
10771     data_link_info->description = g_strdup(text);   10771     data_link_info->description = g_strdup(text);
10772   } else {   10772   } else {
10773     data_link_info->description = (char *)((void *)0);   10773     data_link_info->description = (char *)((void *)0);
10774   }   10774   }
10775   return (data_link_info);   10775   return (data_link_info);
10776 }   10776 }
10777 }   10777 }
10778 static if_capabilities_t *get_if_capabilities(char const   *devname ,   10778 static if_capabilities_t *get_if_capabilities(char const   *devname ,
10779                                               gboolean monitor_mode ,   10779                                               gboolean monitor_mode ,
10780                                               char **err_str )   10780                                               char **err_str )
10781 {   10781 {
10782   if_capabilities_t *caps ;   10782   if_capabilities_t *caps ;
10783   char errbuf[256] ;   10783   char errbuf[256] ;
10784   pcap_t *pch ;   10784   pcap_t *pch ;
10785   int status ;   10785   int status ;
10786   int deflt ;   10786   int deflt ;
10787   int *linktypes ;   10787   int *linktypes ;
10788   int i ;   10788   int i ;
10789   int nlt ;   10789   int nlt ;
10790   data_link_info_t *data_link_info ;   10790   data_link_info_t *data_link_info ;
10791   gpointer tmp ;   10791   gpointer tmp ;
10792   char *tmp___0 ;   10792   char *tmp___0 ;
10793   char const   *tmp___1 ;   10793   char const   *tmp___1 ;
10794   char *tmp___2 ;   10794   char *tmp___2 ;
10795   char const   *tmp___3 ;   10795   char const   *tmp___3 ;
10796     10796  
10797   {   10797   {
10798   tmp = g_malloc(sizeof(*caps));   10798   tmp = g_malloc(sizeof(*caps));
10799   caps = (if_capabilities_t *)tmp;   10799   caps = (if_capabilities_t *)tmp;
10800   pch = pcap_create(devname, errbuf);   10800   pch = pcap_create(devname, errbuf);
10801   if ((unsigned int )pch == (unsigned int )((void *)0)) {   10801   if ((unsigned int )pch == (unsigned int )((void *)0)) {
10802     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10802     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10803       *err_str = g_strdup((gchar const   *)(errbuf));   10803       *err_str = g_strdup((gchar const   *)(errbuf));
10804     } else {   10804     } else {
10805     10805  
10806     }   10806     }
10807     g_free((gpointer )caps);   10807     g_free((gpointer )caps);
10808     return ((if_capabilities_t *)((void *)0));   10808     return ((if_capabilities_t *)((void *)0));
10809   } else {   10809   } else {
10810     10810  
10811   }   10811   }
10812   status = pcap_can_set_rfmon(pch);   10812   status = pcap_can_set_rfmon(pch);
10813   if (status < 0) {   10813   if (status < 0) {
10814     if (status == -1) {   10814     if (status == -1) {
10815       tmp___0 = pcap_geterr(pch);   10815       tmp___0 = pcap_geterr(pch);
10816       *err_str = g_strdup_printf("pcap_can_set_rfmon() failed: %s", tmp___0);   10816       *err_str = g_strdup_printf("pcap_can_set_rfmon() failed: %s", tmp___0);
10817     } else {   10817     } else {
10818       tmp___1 = pcap_statustostr(status);   10818       tmp___1 = pcap_statustostr(status);
10819       *err_str = g_strdup(tmp___1);   10819       *err_str = g_strdup(tmp___1);
10820     }   10820     }
10821     pcap_close(pch);   10821     pcap_close(pch);
10822     g_free((gpointer )caps);   10822     g_free((gpointer )caps);
10823     return ((if_capabilities_t *)((void *)0));   10823     return ((if_capabilities_t *)((void *)0));
10824   } else {   10824   } else {
10825     10825  
10826   }   10826   }
10827   if (status == 0) {   10827   if (status == 0) {
10828     caps->can_set_rfmon = 0;   10828     caps->can_set_rfmon = 0;
10829   } else   10829   } else
10830   if (status == 1) {   10830   if (status == 1) {
10831     caps->can_set_rfmon = 1;   10831     caps->can_set_rfmon = 1;
10832     if (monitor_mode) {   10832     if (monitor_mode) {
10833       pcap_set_rfmon(pch, 1);   10833       pcap_set_rfmon(pch, 1);
10834     } else {   10834     } else {
10835     10835  
10836     }   10836     }
10837   } else {   10837   } else {
10838     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10838     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10839       *err_str = g_strdup_printf("pcap_can_set_rfmon() returned %d", status);   10839       *err_str = g_strdup_printf("pcap_can_set_rfmon() returned %d", status);
10840     } else {   10840     } else {
10841     10841  
10842     }   10842     }
10843     pcap_close(pch);   10843     pcap_close(pch);
10844     g_free((gpointer )caps);   10844     g_free((gpointer )caps);
10845     return ((if_capabilities_t *)((void *)0));   10845     return ((if_capabilities_t *)((void *)0));
10846   }   10846   }
10847   status = pcap_activate(pch);   10847   status = pcap_activate(pch);
10848   if (status < 0) {   10848   if (status < 0) {
10849     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10849     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10850       if (status == -1) {   10850       if (status == -1) {
10851         tmp___2 = pcap_geterr(pch);   10851         tmp___2 = pcap_geterr(pch);
10852         *err_str = g_strdup_printf("pcap_activate() failed: %s", tmp___2);   10852         *err_str = g_strdup_printf("pcap_activate() failed: %s", tmp___2);
10853       } else {   10853       } else {
10854         tmp___3 = pcap_statustostr(status);   10854         tmp___3 = pcap_statustostr(status);
10855         *err_str = g_strdup(tmp___3);   10855         *err_str = g_strdup(tmp___3);
10856       }   10856       }
10857     } else {   10857     } else {
10858     10858  
10859     }   10859     }
10860     pcap_close(pch);   10860     pcap_close(pch);
10861     g_free((gpointer )caps);   10861     g_free((gpointer )caps);
10862     return ((if_capabilities_t *)((void *)0));   10862     return ((if_capabilities_t *)((void *)0));
10863   } else {   10863   } else {
10864     10864  
10865   }   10865   }
10866   deflt = get_pcap_linktype(pch, devname);   10866   deflt = get_pcap_linktype(pch, devname);
10867   nlt = pcap_list_datalinks(pch, & linktypes);   10867   nlt = pcap_list_datalinks(pch, & linktypes);
10868   if (nlt == 0) {   10868   if (nlt == 0) {
10869     goto _L;   10869     goto _L;
10870   } else   10870   } else
10871   if ((unsigned int )linktypes == (unsigned int )((void *)0)) {   10871   if ((unsigned int )linktypes == (unsigned int )((void *)0)) {
10872     _L: /* CIL Label */   10872     _L: /* CIL Label */
10873     pcap_close(pch);   10873     pcap_close(pch);
10874     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10874     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10875       *err_str = (char *)((void *)0);   10875       *err_str = (char *)((void *)0);
10876     } else {   10876     } else {
10877     10877  
10878     }   10878     }
10879     return ((if_capabilities_t *)((void *)0));   10879     return ((if_capabilities_t *)((void *)0));
10880   } else {   10880   } else {
10881     10881  
10882   }   10882   }
10883   caps->data_link_types = (GList *)((void *)0);   10883   caps->data_link_types = (GList *)((void *)0);
10884   i = 0;   10884   i = 0;
10885   while (i < nlt) {   10885   while (i < nlt) {
10886     data_link_info = create_data_link_info(*(linktypes + i));   10886     data_link_info = create_data_link_info(*(linktypes + i));
10887     if (*(linktypes + i) == deflt) {   10887     if (*(linktypes + i) == deflt) {
10888       caps->data_link_types = g_list_prepend(caps->data_link_types,   10888       caps->data_link_types = g_list_prepend(caps->data_link_types,
10889                                              (gpointer )data_link_info);   10889                                              (gpointer )data_link_info);
10890     } else {   10890     } else {
10891       caps->data_link_types = g_list_append(caps->data_link_types,   10891       caps->data_link_types = g_list_append(caps->data_link_types,
10892                                             (gpointer )data_link_info);   10892                                             (gpointer )data_link_info);
10893     }   10893     }
10894     i ++;   10894     i ++;
10895   }   10895   }
10896   pcap_free_datalinks(linktypes);   10896   pcap_free_datalinks(linktypes);
10897   pcap_close(pch);   10897   pcap_close(pch);
10898   if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10898   if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10899     *err_str = (char *)((void *)0);   10899     *err_str = (char *)((void *)0);
10900   } else {   10900   } else {
10901     10901  
10902   }   10902   }
10903   return (caps);   10903   return (caps);
10904 }   10904 }
10905 }   10905 }
10906 static void print_machine_readable_interfaces(GList *if_list )   10906 static void print_machine_readable_interfaces(GList *if_list )
10907 {   10907 {
10908   int i ;   10908   int i ;
10909   GList *if_entry ;   10909   GList *if_entry ;
10910   if_info_t *if_info ;   10910   if_info_t *if_info ;
10911   GSList *addr ;   10911   GSList *addr ;
10912   if_addr_t *if_addr ;   10912   if_addr_t *if_addr ;
10913   char addr_str[46] ;   10913   char addr_str[46] ;
10914   int tmp ;   10914   int tmp ;
10915   GSList *tmp___0 ;   10915   GSList *tmp___0 ;
10916   char const   *tmp___1 ;   10916   char const   *tmp___1 ;
10917   char const   *tmp___2 ;   10917   char const   *tmp___2 ;
10918     10918  
10919   {   10919   {
10920   if (capture_child) {   10920   if (capture_child) {
10921     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   10921     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
10922   } else {   10922   } else {
10923     10923  
10924   }   10924   }
10925   i = 1;   10925   i = 1;
10926   if_entry = g_list_first(if_list);   10926   if_entry = g_list_first(if_list);
10927   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {   10927   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {
10928     if_info = (if_info_t *)if_entry->data;   10928     if_info = (if_info_t *)if_entry->data;
10929     tmp = i;   10929     tmp = i;
10930     i ++;   10930     i ++;
10931     printf((char const   */* __restrict  */)"%d. %s", tmp, if_info->name);   10931     printf((char const   */* __restrict  */)"%d. %s", tmp, if_info->name);
10932     if ((unsigned int )if_info->description != (unsigned int )((void *)0)) {   10932     if ((unsigned int )if_info->description != (unsigned int )((void *)0)) {
10933       printf((char const   */* __restrict  */)"\t%s\t", if_info->description);   10933       printf((char const   */* __restrict  */)"\t%s\t", if_info->description);
10934     } else {   10934     } else {
10935       printf((char const   */* __restrict  */)"\t\t");   10935       printf((char const   */* __restrict  */)"\t\t");
10936     }   10936     }
10937     addr = g_slist_nth(if_info->addrs, (guint )0);   10937     addr = g_slist_nth(if_info->addrs, (guint )0);
10938     while ((unsigned int )addr != (unsigned int )((void *)0)) {   10938     while ((unsigned int )addr != (unsigned int )((void *)0)) {
10939       tmp___0 = g_slist_nth(if_info->addrs, (guint )0);   10939       tmp___0 = g_slist_nth(if_info->addrs, (guint )0);
10940       if ((unsigned int )addr != (unsigned int )tmp___0) {   10940       if ((unsigned int )addr != (unsigned int )tmp___0) {
10941         printf((char const   */* __restrict  */)",");   10941         printf((char const   */* __restrict  */)",");
10942       } else {   10942       } else {
10943     10943  
10944       }   10944       }
10945       if_addr = (if_addr_t *)addr->data;   10945       if_addr = (if_addr_t *)addr->data;
10946       switch ((unsigned int )if_addr->ifat_type) {   10946       switch ((unsigned int )if_addr->ifat_type) {
10947       case 0U:   10947       case 0U:
10948       tmp___1 = inet_ntop(2,   10948       tmp___1 = inet_ntop(2,
10949                           (void const   */* __restrict  */)(& if_addr->addr.ip4_addr),   10949                           (void const   */* __restrict  */)(& if_addr->addr.ip4_addr),
10950                           (char */* __restrict  */)(addr_str), (socklen_t )46);   10950                           (char */* __restrict  */)(addr_str), (socklen_t )46);
10951       if (tmp___1) {   10951       if (tmp___1) {
10952         printf((char const   */* __restrict  */)"%s", addr_str);   10952         printf((char const   */* __restrict  */)"%s", addr_str);
10953       } else {   10953       } else {
10954         printf((char const   */* __restrict  */)"<unknown IPv4>");   10954         printf((char const   */* __restrict  */)"<unknown IPv4>");
10955       }   10955       }
10956       break;   10956       break;
10957       case 1U:   10957       case 1U:
10958       tmp___2 = inet_ntop(10,   10958       tmp___2 = inet_ntop(10,
10959                           (void const   */* __restrict  */)(& if_addr->addr.ip6_addr),   10959                           (void const   */* __restrict  */)(& if_addr->addr.ip6_addr),
10960                           (char */* __restrict  */)(addr_str), (socklen_t )46);   10960                           (char */* __restrict  */)(addr_str), (socklen_t )46);
10961       if (tmp___2) {   10961       if (tmp___2) {
10962         printf((char const   */* __restrict  */)"%s", addr_str);   10962         printf((char const   */* __restrict  */)"%s", addr_str);
10963       } else {   10963       } else {
10964         printf((char const   */* __restrict  */)"<unknown IPv6>");   10964         printf((char const   */* __restrict  */)"<unknown IPv6>");
10965       }   10965       }
10966       break;   10966       break;
10967       default:   10967       default:
10968       printf((char const   */* __restrict  */)"<type unknown %u>",   10968       printf((char const   */* __restrict  */)"<type unknown %u>",
10969              (unsigned int )if_addr->ifat_type);   10969              (unsigned int )if_addr->ifat_type);
10970       }   10970       }
10971       if (addr) {   10971       if (addr) {
10972         addr = addr->next;   10972         addr = addr->next;
10973       } else {   10973       } else {
10974         addr = (GSList *)((void *)0);   10974         addr = (GSList *)((void *)0);
10975       }   10975       }
10976     }   10976     }
10977     if (if_info->loopback) {   10977     if (if_info->loopback) {
10978       printf((char const   */* __restrict  */)"\tloopback");   10978       printf((char const   */* __restrict  */)"\tloopback");
10979     } else {   10979     } else {
10980       printf((char const   */* __restrict  */)"\tnetwork");   10980       printf((char const   */* __restrict  */)"\tnetwork");
10981     }   10981     }
10982     printf((char const   */* __restrict  */)"\n");   10982     printf((char const   */* __restrict  */)"\n");
10983     if (if_entry) {   10983     if (if_entry) {
10984       if_entry = if_entry->next;   10984       if_entry = if_entry->next;
10985     } else {   10985     } else {
10986       if_entry = (GList *)((void *)0);   10986       if_entry = (GList *)((void *)0);
10987     }   10987     }
10988   }   10988   }
10989   return;   10989   return;
10990 }   10990 }
10991 }   10991 }
10992 static void print_machine_readable_if_capabilities(if_capabilities_t *caps )   10992 static void print_machine_readable_if_capabilities(if_capabilities_t *caps )
10993 {   10993 {
10994   GList *lt_entry ;   10994   GList *lt_entry ;
10995   data_link_info_t *data_link_info ;   10995   data_link_info_t *data_link_info ;
10996   gchar const   *desc_str ;   10996   gchar const   *desc_str ;
10997     10997  
10998   {   10998   {
10999   if (capture_child) {   10999   if (capture_child) {
11000     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   11000     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
11001   } else {   11001   } else {
11002     11002  
11003   }   11003   }
11004   if (caps->can_set_rfmon) {   11004   if (caps->can_set_rfmon) {
11005     printf((char const   */* __restrict  */)"1\n");   11005     printf((char const   */* __restrict  */)"1\n");
11006   } else {   11006   } else {
11007     printf((char const   */* __restrict  */)"0\n");   11007     printf((char const   */* __restrict  */)"0\n");
11008   }   11008   }
11009   lt_entry = caps->data_link_types;   11009   lt_entry = caps->data_link_types;
11010   while ((unsigned int )lt_entry != (unsigned int )((void *)0)) {   11010   while ((unsigned int )lt_entry != (unsigned int )((void *)0)) {
11011     data_link_info = (data_link_info_t *)lt_entry->data;   11011     data_link_info = (data_link_info_t *)lt_entry->data;
11012     if ((unsigned int )data_link_info->description != (unsigned int )((void *)0)) {   11012     if ((unsigned int )data_link_info->description != (unsigned int )((void *)0)) {
11013       desc_str = (gchar const   *)data_link_info->description;   11013       desc_str = (gchar const   *)data_link_info->description;
11014     } else {   11014     } else {
11015       desc_str = "(not supported)";   11015       desc_str = "(not supported)";
11016     }   11016     }
11017     printf((char const   */* __restrict  */)"%d\t%s\t%s\n", data_link_info->dlt,   11017     printf((char const   */* __restrict  */)"%d\t%s\t%s\n", data_link_info->dlt,
11018            data_link_info->name, desc_str);   11018            data_link_info->name, desc_str);
11019     if (lt_entry) {   11019     if (lt_entry) {
11020       lt_entry = lt_entry->next;   11020       lt_entry = lt_entry->next;
11021     } else {   11021     } else {
11022       lt_entry = (GList *)((void *)0);   11022       lt_entry = (GList *)((void *)0);
11023     }   11023     }
11024   }   11024   }
11025   return;   11025   return;
11026 }   11026 }
11027 }   11027 }
11028 static int print_statistics_loop(gboolean machine_readable )   11028 static int print_statistics_loop(gboolean machine_readable )
11029 {   11029 {
11030   GList *if_list ;   11030   GList *if_list ;
11031   GList *if_entry ;   11031   GList *if_entry ;
11032   GList *stat_list ;   11032   GList *stat_list ;
11033   GList *stat_entry ;   11033   GList *stat_entry ;
11034   if_info_t *if_info ;   11034   if_info_t *if_info ;
11035   if_stat_t *if_stat ;   11035   if_stat_t *if_stat ;
11036   int err ;   11036   int err ;
11037   gchar *err_str ;   11037   gchar *err_str ;
11038   pcap_t *pch ;   11038   pcap_t *pch ;
11039   char errbuf[256] ;   11039   char errbuf[256] ;
11040   struct pcap_stat ps ;   11040   struct pcap_stat ps ;
11041   gpointer tmp ;   11041   gpointer tmp ;
11042     11042  
11043   {   11043   {
11044   stat_list = (GList *)((void *)0);   11044   stat_list = (GList *)((void *)0);
11045   if_list = get_interface_list(& err, & err_str);   11045   if_list = get_interface_list(& err, & err_str);
11046   if ((unsigned int )if_list == (unsigned int )((void *)0)) {   11046   if ((unsigned int )if_list == (unsigned int )((void *)0)) {
11047     switch (err) {   11047     switch (err) {
11048     case 1:   11048     case 1:
11049     cmdarg_err("%s", err_str);   11049     cmdarg_err("%s", err_str);
11050     g_free((gpointer )err_str);   11050     g_free((gpointer )err_str);
11051     break;   11051     break;
11052     case 2:   11052     case 2:
11053     cmdarg_err("There are no interfaces on which a capture can be done");   11053     cmdarg_err("There are no interfaces on which a capture can be done");
11054     break;   11054     break;
11055     }   11055     }
11056     return (err);   11056     return (err);
11057   } else {   11057   } else {
11058     11058  
11059   }   11059   }
11060   if_entry = g_list_first(if_list);   11060   if_entry = g_list_first(if_list);
11061   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {   11061   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {
11062     if_info = (if_info_t *)if_entry->data;   11062     if_info = (if_info_t *)if_entry->data;
11063     pch = pcap_open_live((char const   *)if_info->name, 1, 0, 0, errbuf);   11063     pch = pcap_open_live((char const   *)if_info->name, 1, 0, 0, errbuf);
11064     if (pch) {   11064     if (pch) {
11065       tmp = g_malloc(sizeof(if_stat_t ));   11065       tmp = g_malloc(sizeof(if_stat_t ));
11066       if_stat = (if_stat_t *)tmp;   11066       if_stat = (if_stat_t *)tmp;
11067       if_stat->name = g_strdup((gchar const   *)if_info->name);   11067       if_stat->name = g_strdup((gchar const   *)if_info->name);
11068       if_stat->pch = pch;   11068       if_stat->pch = pch;
11069       stat_list = g_list_append(stat_list, (gpointer )if_stat);   11069       stat_list = g_list_append(stat_list, (gpointer )if_stat);
11070     } else {   11070     } else {
11071     11071  
11072     }   11072     }
11073     if (if_entry) {   11073     if (if_entry) {
11074       if_entry = if_entry->next;   11074       if_entry = if_entry->next;
11075     } else {   11075     } else {
11076       if_entry = (GList *)((void *)0);   11076       if_entry = (GList *)((void *)0);
11077     }   11077     }
11078   }   11078   }
11079   if (! stat_list) {   11079   if (! stat_list) {
11080     cmdarg_err("There are no interfaces on which a capture can be done");   11080     cmdarg_err("There are no interfaces on which a capture can be done");
11081     return (2);   11081     return (2);
11082   } else {   11082   } else {
11083     11083  
11084   }   11084   }
11085   if (capture_child) {   11085   if (capture_child) {
11086     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   11086     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
11087   } else {   11087   } else {
11088     11088  
11089   }   11089   }
11090   if (! machine_readable) {   11090   if (! machine_readable) {
11091     printf((char const   */* __restrict  */)"%-15s  %10s  %10s\n", "Interface",   11091     printf((char const   */* __restrict  */)"%-15s  %10s  %10s\n", "Interface",
11092            "Received", "Dropped");   11092            "Received", "Dropped");
11093   } else {   11093   } else {
11094     11094  
11095   }   11095   }
11096   global_ld.go = 1;   11096   global_ld.go = 1;
11097   while (global_ld.go) {   11097   while (global_ld.go) {
11098     stat_entry = g_list_first(stat_list);   11098     stat_entry = g_list_first(stat_list);
11099     while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {   11099     while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {
11100       if_stat = (if_stat_t *)stat_entry->data;   11100       if_stat = (if_stat_t *)stat_entry->data;
11101       pcap_stats(if_stat->pch, & ps);   11101       pcap_stats(if_stat->pch, & ps);
11102       if (! machine_readable) {   11102       if (! machine_readable) {
11103         printf((char const   */* __restrict  */)"%-15s  %10u  %10u\n",   11103         printf((char const   */* __restrict  */)"%-15s  %10u  %10u\n",
11104                if_stat->name, ps.ps_recv, ps.ps_drop);   11104                if_stat->name, ps.ps_recv, ps.ps_drop);
11105       } else {   11105       } else {
11106         printf((char const   */* __restrict  */)"%s\t%u\t%u\n", if_stat->name,   11106         printf((char const   */* __restrict  */)"%s\t%u\t%u\n", if_stat->name,
11107                ps.ps_recv, ps.ps_drop);   11107                ps.ps_recv, ps.ps_drop);
11108         fflush(stdout);   11108         fflush(stdout);
11109       }   11109       }
11110       if (stat_entry) {   11110       if (stat_entry) {
11111         stat_entry = stat_entry->next;   11111         stat_entry = stat_entry->next;
11112       } else {   11112       } else {
11113         stat_entry = (GList *)((void *)0);   11113         stat_entry = (GList *)((void *)0);
11114       }   11114       }
11115     }   11115     }
11116     sleep(1U);   11116     sleep(1U);
11117   }   11117   }
11118   stat_entry = g_list_first(stat_list);   11118   stat_entry = g_list_first(stat_list);
11119   while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {   11119   while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {
11120     if_stat = (if_stat_t *)stat_entry->data;   11120     if_stat = (if_stat_t *)stat_entry->data;
11121     pcap_close(if_stat->pch);   11121     pcap_close(if_stat->pch);
11122     g_free((gpointer )if_stat->name);   11122     g_free((gpointer )if_stat->name);
11123     g_free((gpointer )if_stat);   11123     g_free((gpointer )if_stat);
11124     if (stat_entry) {   11124     if (stat_entry) {
11125       stat_entry = stat_entry->next;   11125       stat_entry = stat_entry->next;
11126     } else {   11126     } else {
11127       stat_entry = (GList *)((void *)0);   11127       stat_entry = (GList *)((void *)0);
11128     }   11128     }
11129   }   11129   }
11130   g_list_free(stat_list);   11130   g_list_free(stat_list);
11131   free_interface_list(if_list);   11131   free_interface_list(if_list);
11132   return (0);   11132   return (0);
11133 }   11133 }
11134 }   11134 }
11135 static void capture_cleanup_handler(int signum  __attribute__((__unused__)) )   11135 static void capture_cleanup_handler(int signum  __attribute__((__unused__)) )
11136 {   11136 {
11137     11137  
11138     11138  
11139   {   11139   {
11140   capture_loop_stop();   11140   capture_loop_stop();
11141   return;   11141   return;
11142 }   11142 }
11143 }   11143 }
11144 static void report_capture_count(void)   11144 static void report_capture_count(void)
11145 {   11145 {
11146     11146  
11147     11147  
11148   {   11148   {
11149   if (! capture_child) {   11149   if (! capture_child) {
11150     if (quiet) {   11150     if (quiet) {
11151       fprintf((FILE */* __restrict  */)stderr,   11151       fprintf((FILE */* __restrict  */)stderr,
11152               (char const   */* __restrict  */)"Packets captured: %u\n",   11152               (char const   */* __restrict  */)"Packets captured: %u\n",
11153               global_ld.packet_count);   11153               global_ld.packet_count);
11154       fflush(stderr);   11154       fflush(stderr);
11155     } else {   11155     } else {
11156     11156  
11157     }   11157     }
11158   } else {   11158   } else {
11159     11159  
11160   }   11160   }
11161   return;   11161   return;
11162 }   11162 }
11163 }   11163 }
11164 static  __attribute__((__noreturn__)) void exit_main(int status ) ;   11164 static  __attribute__((__noreturn__)) void exit_main(int status ) ;
11165 static void exit_main(int status )   11165 static void exit_main(int status )
11166 {   11166 {
11167     11167  
11168     11168  
11169   {   11169   {
11170   exit(status);   11170   exit(status);
11171 }   11171 }
11172 }   11172 }
11173 static void cap_pipe_adjust_header(gboolean byte_swapped ,   11173 static void cap_pipe_adjust_header(gboolean byte_swapped ,
11174                                    struct pcap_hdr *hdr ,   11174                                    struct pcap_hdr *hdr ,
11175                                    struct pcaprec_hdr *rechdr )   11175                                    struct pcaprec_hdr *rechdr )
11176 {   11176 {
11177   guint32 temp ;   11177   guint32 temp ;
11178     11178  
11179   {   11179   {
11180   if (byte_swapped) {   11180   if (byte_swapped) {
    -+ 11181     {
      11182     memset(rechdr, 0, sizeof(struct pcaprec_hdr ));
11181     rechdr->ts_sec = ((((rechdr->ts_sec & 4278190080U) >> 24) | ((rechdr->ts_sec & 16711680U) >> 8)) | ((rechdr->ts_sec & 65280U) << 8)) | ((rechdr->ts_sec & 255U) << 24); = 11183     rechdr->ts_sec = ((((rechdr->ts_sec & 4278190080U) >> 24) | ((rechdr->ts_sec & 16711680U) >> 8)) | ((rechdr->ts_sec & 65280U) << 8)) | ((rechdr->ts_sec & 255U) << 24);
    -+ 11184     }
11182     rechdr->ts_usec = ((((rechdr->ts_usec & 4278190080U) >> 24) | ((rechdr->ts_usec & 16711680U) >> 8)) | ((rechdr->ts_usec & 65280U) << 8)) | ((rechdr->ts_usec & 255U) << 24); = 11185     rechdr->ts_usec = ((((rechdr->ts_usec & 4278190080U) >> 24) | ((rechdr->ts_usec & 16711680U) >> 8)) | ((rechdr->ts_usec & 65280U) << 8)) | ((rechdr->ts_usec & 255U) << 24);
11183     rechdr->incl_len = ((((rechdr->incl_len & 4278190080U) >> 24) | ((rechdr->incl_len & 16711680U) >> 8)) | ((rechdr->incl_len & 65280U) << 8)) | ((rechdr->incl_len & 255U) << 24);   11186     rechdr->incl_len = ((((rechdr->incl_len & 4278190080U) >> 24) | ((rechdr->incl_len & 16711680U) >> 8)) | ((rechdr->incl_len & 65280U) << 8)) | ((rechdr->incl_len & 255U) << 24);
11184     rechdr->orig_len = ((((rechdr->orig_len & 4278190080U) >> 24) | ((rechdr->orig_len & 16711680U) >> 8)) | ((rechdr->orig_len & 65280U) << 8)) | ((rechdr->orig_len & 255U) << 24);   11187     rechdr->orig_len = ((((rechdr->orig_len & 4278190080U) >> 24) | ((rechdr->orig_len & 16711680U) >> 8)) | ((rechdr->orig_len & 65280U) << 8)) | ((rechdr->orig_len & 255U) << 24);
11185   } else {   11188   } else {
11186     11189  
11187   }   11190   }
11188   if ((int )hdr->version_major == 2) {   11191   if ((int )hdr->version_major == 2) {
11189     if ((int )hdr->version_minor < 3) {   11192     if ((int )hdr->version_minor < 3) {
11190       temp = rechdr->orig_len;   11193       temp = rechdr->orig_len;
11191       rechdr->orig_len = rechdr->incl_len;   11194       rechdr->orig_len = rechdr->incl_len;
11192       rechdr->incl_len = temp;   11195       rechdr->incl_len = temp;
11193     } else   11196     } else
11194     if ((int )hdr->version_minor == 3) {   11197     if ((int )hdr->version_minor == 3) {
11195       if (rechdr->incl_len > rechdr->orig_len) {   11198       if (rechdr->incl_len > rechdr->orig_len) {
11196         temp = rechdr->orig_len;   11199         temp = rechdr->orig_len;
11197         rechdr->orig_len = rechdr->incl_len;   11200         rechdr->orig_len = rechdr->incl_len;
11198         rechdr->incl_len = temp;   11201         rechdr->incl_len = temp;
11199       } else {   11202       } else {
11200     11203  
11201       }   11204       }
11202     } else {   11205     } else {
11203     11206  
11204     }   11207     }
11205   } else {   11208   } else {
11206     11209  
11207   }   11210   }
11208   return;   11211   return;
11209 }   11212 }
11210 }   11213 }
11211 static int cap_pipe_select(int pipe_fd )   11214 static int cap_pipe_select(int pipe_fd )
11212 {   11215 {
11213   fd_set rfds ;   11216   fd_set rfds ;
11214   struct timeval timeout ;   11217   struct timeval timeout ;
11215   int sel_ret ;   11218   int sel_ret ;
11216   int __d0 ;   11219   int __d0 ;
11217   int __d1 ;   11220   int __d1 ;
11218   int *tmp ;   11221   int *tmp ;
11219   char *tmp___0 ;   11222   char *tmp___0 ;
11220     11223  
11221   {   11224   {
11222   cap_pipe_err_str = "Unknown error";   11225   cap_pipe_err_str = "Unknown error";
11223   while (1) {   11226   while (1) {
11224     __asm__  volatile   ("cld; rep; stosl": "=c" (__d0), "=D" (__d1): "a" (0),   11227     __asm__  volatile   ("cld; rep; stosl": "=c" (__d0), "=D" (__d1): "a" (0),
11225                          "0" (sizeof(fd_set ) / sizeof(__fd_mask )),   11228                          "0" (sizeof(fd_set ) / sizeof(__fd_mask )),
11226                          "1" (& rfds.__fds_bits[0]): "memory");   11229                          "1" (& rfds.__fds_bits[0]): "memory");
11227     break;   11230     break;
11228   }   11231   }
11229   __asm__  volatile   ("btsl %1,%0": "=m" (rfds.__fds_bits[(unsigned int )pipe_fd / (8U * sizeof(unsigned long ))]): "r" ((unsigned int )pipe_fd % (8U * sizeof(unsigned long ))): "cc",   11232   __asm__  volatile   ("btsl %1,%0": "=m" (rfds.__fds_bits[(unsigned int )pipe_fd / (8U * sizeof(unsigned long ))]): "r" ((unsigned int )pipe_fd % (8U * sizeof(unsigned long ))): "cc",
11230                        "memory");   11233                        "memory");
11231   timeout.tv_sec = (__time_t )0;   11234   timeout.tv_sec = (__time_t )0;
11232   timeout.tv_usec = (__suseconds_t )250000;   11235   timeout.tv_usec = (__suseconds_t )250000;
11233   sel_ret = select(pipe_fd + 1, (fd_set */* __restrict  */)(& rfds),   11236   sel_ret = select(pipe_fd + 1, (fd_set */* __restrict  */)(& rfds),
11234                    (fd_set */* __restrict  */)((void *)0),   11237                    (fd_set */* __restrict  */)((void *)0),
11235                    (fd_set */* __restrict  */)((void *)0),   11238                    (fd_set */* __restrict  */)((void *)0),
11236                    (struct timeval */* __restrict  */)(& timeout));   11239                    (struct timeval */* __restrict  */)(& timeout));
11237   if (sel_ret < 0) {   11240   if (sel_ret < 0) {
11238     tmp = __errno_location();   11241     tmp = __errno_location();
11239     tmp___0 = strerror(*tmp);   11242     tmp___0 = strerror(*tmp);
11240     cap_pipe_err_str = (char const   *)tmp___0;   11243     cap_pipe_err_str = (char const   *)tmp___0;
11241   } else {   11244   } else {
11242     11245  
11243   }   11246   }
11244   return (sel_ret);   11247   return (sel_ret);
11245 }   11248 }
11246 }   11249 }
11247 static void cap_pipe_open_live(char *pipename , pcap_options *pcap_opts ,   11250 static void cap_pipe_open_live(char *pipename , pcap_options *pcap_opts ,
11248                                struct pcap_hdr *hdr , char *errmsg ,   11251                                struct pcap_hdr *hdr , char *errmsg ,
11249                                int errmsgl )   11252                                int errmsgl )
11250 {   11253 {
11251   struct stat pipe_stat ;   11254   struct stat pipe_stat ;
11252   struct sockaddr_un sa ;   11255   struct sockaddr_un sa ;
11253   int b ;   11256   int b ;
11254   int fd ;   11257   int fd ;
11255   int sel_ret ;   11258   int sel_ret ;
11256   unsigned int bytes_read ;   11259   unsigned int bytes_read ;
11257   guint32 magic ;   11260   guint32 magic ;
11258   int *tmp ;   11261   int *tmp ;
11259   char *tmp___0 ;   11262   char *tmp___0 ;
11260   int *tmp___1 ;   11263   int *tmp___1 ;
11261   int *tmp___2 ;   11264   int *tmp___2 ;
11262   int tmp___3 ;   11265   int tmp___3 ;
11263   int *tmp___4 ;   11266   int *tmp___4 ;
11264   char *tmp___5 ;   11267   char *tmp___5 ;
11265   int *tmp___6 ;   11268   int *tmp___6 ;
11266   char *tmp___7 ;   11269   char *tmp___7 ;
11267   gsize tmp___8 ;   11270   gsize tmp___8 ;
11268   int *tmp___9 ;   11271   int *tmp___9 ;
11269   char *tmp___10 ;   11272   char *tmp___10 ;
11270   size_t __s1_len ;   11273   size_t __s1_len ;
11271   size_t __s2_len ;   11274   size_t __s2_len ;
11272   int tmp___11 ;   11275   int tmp___11 ;
11273   int tmp___12 ;   11276   int tmp___12 ;
11274   int tmp___13 ;   11277   int tmp___13 ;
11275   unsigned char const   *__s2 ;   11278   unsigned char const   *__s2 ;
11276   register int __result ;   11279   register int __result ;
11277   int tmp___14 ;   11280   int tmp___14 ;
11278   unsigned char const   *__s1 ;   11281   unsigned char const   *__s1 ;
11279   register int __result___0 ;   11282   register int __result___0 ;
11280   int tmp___15 ;   11283   int tmp___15 ;
11281   int tmp___16 ;   11284   int tmp___16 ;
11282   int tmp___17 ;   11285   int tmp___17 ;
11283   int *tmp___18 ;   11286   int *tmp___18 ;
11284   char *tmp___19 ;   11287   char *tmp___19 ;
11285   int *tmp___20 ;   11288   int *tmp___20 ;
11286   char *tmp___21 ;   11289   char *tmp___21 ;
11287   int *tmp___22 ;   11290   int *tmp___22 ;
11288   char *tmp___23 ;   11291   char *tmp___23 ;
11289   int *tmp___24 ;   11292   int *tmp___24 ;
11290   char *tmp___25 ;   11293   char *tmp___25 ;
11291     11294  
11292   {   11295   {
11293   magic = (guint32 )0;   11296   magic = (guint32 )0;
11294   pcap_opts->cap_pipe_fd = -1;   11297   pcap_opts->cap_pipe_fd = -1;
11295   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: %s", pipename);   11298   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: %s", pipename);
11296   if (0) {   11299   if (0) {
11297     __s1_len = strlen((char const   *)pipename);   11300     __s1_len = strlen((char const   *)pipename);
11298     __s2_len = strlen("-");   11301     __s2_len = strlen("-");
11299     if (! ((size_t )((void const   *)(pipename + 1)) - (size_t )((void const   *)pipename) == 1U)) {   11302     if (! ((size_t )((void const   *)(pipename + 1)) - (size_t )((void const   *)pipename) == 1U)) {
11300       goto _L___0;   11303       goto _L___0;
11301     } else   11304     } else
11302     if (__s1_len >= 4U) {   11305     if (__s1_len >= 4U) {
11303       _L___0: /* CIL Label */   11306       _L___0: /* CIL Label */
11304       if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {   11307       if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {
11305         tmp___17 = 1;   11308         tmp___17 = 1;
11306       } else   11309       } else
11307       if (__s2_len >= 4U) {   11310       if (__s2_len >= 4U) {
11308         tmp___17 = 1;   11311         tmp___17 = 1;
11309       } else {   11312       } else {
11310         tmp___17 = 0;   11313         tmp___17 = 0;
11311       }   11314       }
11312     } else {   11315     } else {
11313       tmp___17 = 0;   11316       tmp___17 = 0;
11314     }   11317     }
11315     if (tmp___17) {   11318     if (tmp___17) {
11316       tmp___12 = __builtin_strcmp((char const   *)pipename, "-");   11319       tmp___12 = __builtin_strcmp((char const   *)pipename, "-");
11317       tmp___16 = tmp___12;   11320       tmp___16 = tmp___12;
11318     } else {   11321     } else {
11319       tmp___15 = __builtin_strcmp((char const   *)pipename, "-");   11322       tmp___15 = __builtin_strcmp((char const   *)pipename, "-");
11320       tmp___16 = tmp___15;   11323       tmp___16 = tmp___15;
11321     }   11324     }
11322   } else {   11325   } else {
11323     tmp___15 = __builtin_strcmp((char const   *)pipename, "-");   11326     tmp___15 = __builtin_strcmp((char const   *)pipename, "-");
11324     tmp___16 = tmp___15;   11327     tmp___16 = tmp___15;
11325   }   11328   }
11326   if (tmp___16 == 0) {   11329   if (tmp___16 == 0) {
11327     fd = 0;   11330     fd = 0;
11328   } else {   11331   } else {
11329     tmp___3 = stat((char const   */* __restrict  */)pipename,   11332     tmp___3 = stat((char const   */* __restrict  */)pipename,
11330                    (struct stat */* __restrict  */)(& pipe_stat));   11333                    (struct stat */* __restrict  */)(& pipe_stat));
11331     if (tmp___3 < 0) {   11334     if (tmp___3 < 0) {
11332       tmp___1 = __errno_location();   11335       tmp___1 = __errno_location();
11333       if (*tmp___1 == 2) {   11336       if (*tmp___1 == 2) {
11334         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11337         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11335       } else {   11338       } else {
11336         tmp___2 = __errno_location();   11339         tmp___2 = __errno_location();
11337         if (*tmp___2 == 20) {   11340         if (*tmp___2 == 20) {
11338           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11341           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11339         } else {   11342         } else {
11340           tmp = __errno_location();   11343           tmp = __errno_location();
11341           tmp___0 = strerror(*tmp);   11344           tmp___0 = strerror(*tmp);
11342           g_snprintf(errmsg, (gulong )errmsgl,   11345           g_snprintf(errmsg, (gulong )errmsgl,
11343                      "The capture session could not be initiated due to error getting information on pipe/socket: %s",   11346                      "The capture session could not be initiated due to error getting information on pipe/socket: %s",
11344                      tmp___0);   11347                      tmp___0);
11345           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11348           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11346         }   11349         }
11347       }   11350       }
11348       return;   11351       return;
11349     } else {   11352     } else {
11350     11353  
11351     }   11354     }
11352     if ((pipe_stat.st_mode & 61440U) == 4096U) {   11355     if ((pipe_stat.st_mode & 61440U) == 4096U) {
11353       fd = open((char const   *)pipename, 2048, 0);   11356       fd = open((char const   *)pipename, 2048, 0);
11354       if (fd == -1) {   11357       if (fd == -1) {
11355         tmp___4 = __errno_location();   11358         tmp___4 = __errno_location();
11356         tmp___5 = strerror(*tmp___4);   11359         tmp___5 = strerror(*tmp___4);
11357         g_snprintf(errmsg, (gulong )errmsgl,   11360         g_snprintf(errmsg, (gulong )errmsgl,
11358                    "The capture session could not be initiated due to error on pipe open: %s",   11361                    "The capture session could not be initiated due to error on pipe open: %s",
11359                    tmp___5);   11362                    tmp___5);
11360         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11363         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11361         return;   11364         return;
11362       } else {   11365       } else {
11363     11366  
11364       }   11367       }
11365     } else   11368     } else
11366     if ((pipe_stat.st_mode & 61440U) == 49152U) {   11369     if ((pipe_stat.st_mode & 61440U) == 49152U) {
11367       fd = socket(1, 1, 0);   11370       fd = socket(1, 1, 0);
11368       if (fd == -1) {   11371       if (fd == -1) {
11369         tmp___6 = __errno_location();   11372         tmp___6 = __errno_location();
11370         tmp___7 = strerror(*tmp___6);   11373         tmp___7 = strerror(*tmp___6);
11371         g_snprintf(errmsg, (gulong )errmsgl,   11374         g_snprintf(errmsg, (gulong )errmsgl,
11372                    "The capture session could not be initiated due to error on socket create: %s",   11375                    "The capture session could not be initiated due to error on socket create: %s",
11373                    tmp___7);   11376                    tmp___7);
11374         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11377         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11375         return;   11378         return;
11376       } else {   11379       } else {
11377     11380  
11378       }   11381       }
11379       sa.sun_family = (sa_family_t )1;   11382       sa.sun_family = (sa_family_t )1;
11380       tmp___8 = g_strlcpy(sa.sun_path, (gchar const   *)pipename,   11383       tmp___8 = g_strlcpy(sa.sun_path, (gchar const   *)pipename,
11381                           sizeof(sa.sun_path));   11384                           sizeof(sa.sun_path));
11382       if (tmp___8 > sizeof(sa.sun_path)) {   11385       if (tmp___8 > sizeof(sa.sun_path)) {
11383         g_snprintf(errmsg, (gulong )errmsgl,   11386         g_snprintf(errmsg, (gulong )errmsgl,
11384                    "The capture session coud not be initiated due to error on socket connect: Path name too long");   11387                    "The capture session coud not be initiated due to error on socket connect: Path name too long");
11385         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11388         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11386         return;   11389         return;
11387       } else {   11390       } else {
11388     11391  
11389       }   11392       }
11390       b = connect(fd, (struct sockaddr  const  *)((struct sockaddr *)(& sa)),   11393       b = connect(fd, (struct sockaddr  const  *)((struct sockaddr *)(& sa)),
11391                   sizeof(sa));   11394                   sizeof(sa));
11392       if (b == -1) {   11395       if (b == -1) {
11393         tmp___9 = __errno_location();   11396         tmp___9 = __errno_location();
11394         tmp___10 = strerror(*tmp___9);   11397         tmp___10 = strerror(*tmp___9);
11395         g_snprintf(errmsg, (gulong )errmsgl,   11398         g_snprintf(errmsg, (gulong )errmsgl,
11396                    "The capture session coud not be initiated due to error on socket connect: %s",   11399                    "The capture session coud not be initiated due to error on socket connect: %s",
11397                    tmp___10);   11400                    tmp___10);
11398         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11401         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11399         return;   11402         return;
11400       } else {   11403       } else {
11401     11404  
11402       }   11405       }
11403     } else {   11406     } else {
11404       if ((pipe_stat.st_mode & 61440U) == 8192U) {   11407       if ((pipe_stat.st_mode & 61440U) == 8192U) {
11405         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11408         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11406       } else {   11409       } else {
11407         g_snprintf(errmsg, (gulong )errmsgl,   11410         g_snprintf(errmsg, (gulong )errmsgl,
11408                    "The capture session could not be initiated because\n\"%s\" is neither an interface nor a socket nor a pipe",   11411                    "The capture session could not be initiated because\n\"%s\" is neither an interface nor a socket nor a pipe",
11409                    pipename);   11412                    pipename);
11410         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11413         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11411       }   11414       }
11412       return;   11415       return;
11413     }   11416     }
11414   }   11417   }
11415   pcap_opts->from_cap_pipe = 1;   11418   pcap_opts->from_cap_pipe = 1;
11416   bytes_read = 0U;   11419   bytes_read = 0U;
11417   while (bytes_read < sizeof(magic)) {   11420   while (bytes_read < sizeof(magic)) {
11418     sel_ret = cap_pipe_select(fd);   11421     sel_ret = cap_pipe_select(fd);
11419     if (sel_ret < 0) {   11422     if (sel_ret < 0) {
11420       tmp___18 = __errno_location();   11423       tmp___18 = __errno_location();
11421       tmp___19 = strerror(*tmp___18);   11424       tmp___19 = strerror(*tmp___18);
11422       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",   11425       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",
11423                  tmp___19);   11426                  tmp___19);
11424       goto error;   11427       goto error;
11425     } else   11428     } else
11426     if (sel_ret > 0) {   11429     if (sel_ret > 0) {
11427       b = read(fd, (void *)((char *)(& magic) + bytes_read),   11430       b = read(fd, (void *)((char *)(& magic) + bytes_read),
11428                sizeof(magic) - bytes_read);   11431                sizeof(magic) - bytes_read);
11429       if (b <= 0) {   11432       if (b <= 0) {
11430         if (b == 0) {   11433         if (b == 0) {
11431           g_snprintf(errmsg, (gulong )errmsgl,   11434           g_snprintf(errmsg, (gulong )errmsgl,
11432                      "End of file on pipe magic during open");   11435                      "End of file on pipe magic during open");
11433         } else {   11436         } else {
11434           tmp___20 = __errno_location();   11437           tmp___20 = __errno_location();
11435           tmp___21 = strerror(*tmp___20);   11438           tmp___21 = strerror(*tmp___20);
11436           g_snprintf(errmsg, (gulong )errmsgl,   11439           g_snprintf(errmsg, (gulong )errmsgl,
11437                      "Error on pipe magic during open: %s", tmp___21);   11440                      "Error on pipe magic during open: %s", tmp___21);
11438         }   11441         }
11439         goto error;   11442         goto error;
11440       } else {   11443       } else {
11441     11444  
11442       }   11445       }
11443       bytes_read += (unsigned int )b;   11446       bytes_read += (unsigned int )b;
11444     } else {   11447     } else {
11445     11448  
11446     }   11449     }
11447   }   11450   }
11448   switch (magic) {   11451   switch (magic) {
11449   case 2712847316U:   11452   case 2712847316U:
11450   pcap_opts->cap_pipe_byte_swapped = 0;   11453   pcap_opts->cap_pipe_byte_swapped = 0;
11451   pcap_opts->cap_pipe_modified = 0;   11454   pcap_opts->cap_pipe_modified = 0;
11452   break;   11455   break;
11453   case 2712849716U:   11456   case 2712849716U:
11454   pcap_opts->cap_pipe_byte_swapped = 0;   11457   pcap_opts->cap_pipe_byte_swapped = 0;
11455   pcap_opts->cap_pipe_modified = 1;   11458   pcap_opts->cap_pipe_modified = 1;
11456   break;   11459   break;
11457   case 3569595041U:   11460   case 3569595041U:
11458   pcap_opts->cap_pipe_byte_swapped = 1;   11461   pcap_opts->cap_pipe_byte_swapped = 1;
11459   pcap_opts->cap_pipe_modified = 0;   11462   pcap_opts->cap_pipe_modified = 0;
11460   break;   11463   break;
11461   case 885895841U:   11464   case 885895841U:
11462   pcap_opts->cap_pipe_byte_swapped = 1;   11465   pcap_opts->cap_pipe_byte_swapped = 1;
11463   pcap_opts->cap_pipe_modified = 1;   11466   pcap_opts->cap_pipe_modified = 1;
11464   break;   11467   break;
11465   default:   11468   default:
11466   g_snprintf(errmsg, (gulong )errmsgl, "Unrecognized libpcap format");   11469   g_snprintf(errmsg, (gulong )errmsgl, "Unrecognized libpcap format");
11467   goto error;   11470   goto error;
11468   }   11471   }
11469   bytes_read = 0U;   11472   bytes_read = 0U;
11470   while (bytes_read < sizeof(struct pcap_hdr )) {   11473   while (bytes_read < sizeof(struct pcap_hdr )) {
11471     sel_ret = cap_pipe_select(fd);   11474     sel_ret = cap_pipe_select(fd);
11472     if (sel_ret < 0) {   11475     if (sel_ret < 0) {
11473       tmp___22 = __errno_location();   11476       tmp___22 = __errno_location();
11474       tmp___23 = strerror(*tmp___22);   11477       tmp___23 = strerror(*tmp___22);
11475       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",   11478       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",
11476                  tmp___23);   11479                  tmp___23);
11477       goto error;   11480       goto error;
11478     } else   11481     } else
11479     if (sel_ret > 0) {   11482     if (sel_ret > 0) {
11480       b = read(fd, (void *)((char *)hdr + bytes_read),   11483       b = read(fd, (void *)((char *)hdr + bytes_read),
11481                sizeof(struct pcap_hdr ) - bytes_read);   11484                sizeof(struct pcap_hdr ) - bytes_read);
11482       if (b <= 0) {   11485       if (b <= 0) {
11483         if (b == 0) {   11486         if (b == 0) {
11484           g_snprintf(errmsg, (gulong )errmsgl,   11487           g_snprintf(errmsg, (gulong )errmsgl,
11485                      "End of file on pipe header during open");   11488                      "End of file on pipe header during open");
11486         } else {   11489         } else {
11487           tmp___24 = __errno_location();   11490           tmp___24 = __errno_location();
11488           tmp___25 = strerror(*tmp___24);   11491           tmp___25 = strerror(*tmp___24);
11489           g_snprintf(errmsg, (gulong )errmsgl,   11492           g_snprintf(errmsg, (gulong )errmsgl,
11490                      "Error on pipe header during open: %s", tmp___25);   11493                      "Error on pipe header during open: %s", tmp___25);
11491         }   11494         }
11492         goto error;   11495         goto error;
11493       } else {   11496       } else {
11494     11497  
11495       }   11498       }
11496       bytes_read += (unsigned int )b;   11499       bytes_read += (unsigned int )b;
11497     } else {   11500     } else {
11498     11501  
11499     }   11502     }
11500   }   11503   }
11501   if (pcap_opts->cap_pipe_byte_swapped) {   11504   if (pcap_opts->cap_pipe_byte_swapped) {
    -+ 11505     {
      11506     memset(hdr, 0, sizeof(struct pcap_hdr ));
11502     hdr->version_major = (guint16 )((((int )hdr->version_major & 65280) >> 8) | (((int )hdr->version_major & 255) << 8)); = 11507     hdr->version_major = (guint16 )((((int )hdr->version_major & 65280) >> 8) | (((int )hdr->version_major & 255) << 8));
    -+ 11508     }
11503     hdr->version_minor = (guint16 )((((int )hdr->version_minor & 65280) >> 8) | (((int )hdr->version_minor & 255) << 8)); = 11509     hdr->version_minor = (guint16 )((((int )hdr->version_minor & 65280) >> 8) | (((int )hdr->version_minor & 255) << 8));
11504     hdr->snaplen = ((((hdr->snaplen & 4278190080U) >> 24) | ((hdr->snaplen & 16711680U) >> 8)) | ((hdr->snaplen & 65280U) << 8)) | ((hdr->snaplen & 255U) << 24);   11510     hdr->snaplen = ((((hdr->snaplen & 4278190080U) >> 24) | ((hdr->snaplen & 16711680U) >> 8)) | ((hdr->snaplen & 65280U) << 8)) | ((hdr->snaplen & 255U) << 24);
11505     hdr->network = ((((hdr->network & 4278190080U) >> 24) | ((hdr->network & 16711680U) >> 8)) | ((hdr->network & 65280U) << 8)) | ((hdr->network & 255U) << 24);   11511     hdr->network = ((((hdr->network & 4278190080U) >> 24) | ((hdr->network & 16711680U) >> 8)) | ((hdr->network & 65280U) << 8)) | ((hdr->network & 255U) << 24);
11506   } else {   11512   } else {
11507     11513  
11508   }   11514   }
11509   pcap_opts->linktype = (int )hdr->network;   11515   pcap_opts->linktype = (int )hdr->network;
11510   if ((int )hdr->version_major < 2) {   11516   if ((int )hdr->version_major < 2) {
11511     g_snprintf(errmsg, (gulong )errmsgl, "Unable to read old libpcap format");   11517     g_snprintf(errmsg, (gulong )errmsgl, "Unable to read old libpcap format");
11512     goto error;   11518     goto error;
11513   } else {   11519   } else {
11514     11520  
11515   }   11521   }
11516   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11522   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11517   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;   11523   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;
11518   pcap_opts->cap_pipe_fd = fd;   11524   pcap_opts->cap_pipe_fd = fd;
11519   return;   11525   return;
11520   error:   11526   error:
11521   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: error %s",   11527   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: error %s",
11522         errmsg);   11528         errmsg);
11523   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11529   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11524   close(fd);   11530   close(fd);
11525   pcap_opts->cap_pipe_fd = -1;   11531   pcap_opts->cap_pipe_fd = -1;
11526   return;   11532   return;
11527 }   11533 }
11528 }   11534 }
11529 static int cap_pipe_dispatch(loop_data *ld , pcap_options *pcap_opts ,   11535 static int cap_pipe_dispatch(loop_data *ld , pcap_options *pcap_opts ,
11530                              guchar *data , char *errmsg , int errmsgl )   11536                              guchar *data , char *errmsg , int errmsgl )
11531 {   11537 {
11532   struct pcap_pkthdr phdr ;   11538   struct pcap_pkthdr phdr ;
11533   enum __anonenum_result_171 result ;   11539   enum __anonenum_result_171 result ;
11534   int b ;   11540   int b ;
11535   int *tmp ;   11541   int *tmp ;
11536   char *tmp___0 ;   11542   char *tmp___0 ;
11537     11543  
11538   {   11544   {
11539   switch ((unsigned int )pcap_opts->cap_pipe_state) {   11545   switch ((unsigned int )pcap_opts->cap_pipe_state) {
11540   case 0U:   11546   case 0U:
11541   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )1;   11547   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )1;
11542   if (pcap_opts->cap_pipe_modified) {   11548   if (pcap_opts->cap_pipe_modified) {
11543     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_modified_hdr );   11549     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_modified_hdr );
11544   } else {   11550   } else {
11545     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_hdr );   11551     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_hdr );
11546   }   11552   }
11547   pcap_opts->cap_pipe_bytes_read = 0;   11553   pcap_opts->cap_pipe_bytes_read = 0;
11548   case 1U:   11554   case 1U:
11549   b = read(pcap_opts->cap_pipe_fd,   11555   b = read(pcap_opts->cap_pipe_fd,
11550            (void *)((char *)(& pcap_opts->cap_pipe_rechdr) + pcap_opts->cap_pipe_bytes_read),   11556            (void *)((char *)(& pcap_opts->cap_pipe_rechdr) + pcap_opts->cap_pipe_bytes_read),
11551            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));   11557            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));
11552   if (b <= 0) {   11558   if (b <= 0) {
11553     if (b == 0) {   11559     if (b == 0) {
11554       result = (enum __anonenum_result_171 )2;   11560       result = (enum __anonenum_result_171 )2;
11555     } else {   11561     } else {
11556       result = (enum __anonenum_result_171 )3;   11562       result = (enum __anonenum_result_171 )3;
11557     }   11563     }
11558     break;   11564     break;
11559   } else {   11565   } else {
11560     11566  
11561   }   11567   }
11562   pcap_opts->cap_pipe_bytes_read += b;   11568   pcap_opts->cap_pipe_bytes_read += b;
11563   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {   11569   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {
11564     return (0);   11570     return (0);
11565   } else {   11571   } else {
11566     11572  
11567   }   11573   }
11568   result = (enum __anonenum_result_171 )0;   11574   result = (enum __anonenum_result_171 )0;
11569   break;   11575   break;
11570   case 2U:   11576   case 2U:
11571   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )3;   11577   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )3;
11572   pcap_opts->cap_pipe_bytes_to_read = (int )pcap_opts->cap_pipe_rechdr.hdr.incl_len;   11578   pcap_opts->cap_pipe_bytes_to_read = (int )pcap_opts->cap_pipe_rechdr.hdr.incl_len;
11573   pcap_opts->cap_pipe_bytes_read = 0;   11579   pcap_opts->cap_pipe_bytes_read = 0;
11574   case 3U:   11580   case 3U:
11575   b = read(pcap_opts->cap_pipe_fd,   11581   b = read(pcap_opts->cap_pipe_fd,
11576            (void *)(data + pcap_opts->cap_pipe_bytes_read),   11582            (void *)(data + pcap_opts->cap_pipe_bytes_read),
11577            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));   11583            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));
11578   if (b <= 0) {   11584   if (b <= 0) {
11579     if (b == 0) {   11585     if (b == 0) {
11580       result = (enum __anonenum_result_171 )2;   11586       result = (enum __anonenum_result_171 )2;
11581     } else {   11587     } else {
11582       result = (enum __anonenum_result_171 )3;   11588       result = (enum __anonenum_result_171 )3;
11583     }   11589     }
11584     break;   11590     break;
11585   } else {   11591   } else {
11586     11592  
11587   }   11593   }
11588   pcap_opts->cap_pipe_bytes_read += b;   11594   pcap_opts->cap_pipe_bytes_read += b;
11589   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {   11595   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {
11590     return (0);   11596     return (0);
11591   } else {   11597   } else {
11592     11598  
11593   }   11599   }
11594   result = (enum __anonenum_result_171 )1;   11600   result = (enum __anonenum_result_171 )1;
11595   break;   11601   break;
11596   default:   11602   default:
11597   g_snprintf(errmsg, (gulong )errmsgl, "cap_pipe_dispatch: invalid state");   11603   g_snprintf(errmsg, (gulong )errmsgl, "cap_pipe_dispatch: invalid state");
11598   result = (enum __anonenum_result_171 )4;   11604   result = (enum __anonenum_result_171 )4;
11599   }   11605   }
11600   switch ((unsigned int )result) {   11606   switch ((unsigned int )result) {
11601   case 0U:   11607   case 0U:
11602   cap_pipe_adjust_header(pcap_opts->cap_pipe_byte_swapped,   11608   cap_pipe_adjust_header(pcap_opts->cap_pipe_byte_swapped,
11603                          & pcap_opts->cap_pipe_hdr,   11609                          & pcap_opts->cap_pipe_hdr,
11604                          & pcap_opts->cap_pipe_rechdr.hdr);   11610                          & pcap_opts->cap_pipe_rechdr.hdr);
11605   if (pcap_opts->cap_pipe_rechdr.hdr.incl_len > 65535U) {   11611   if (pcap_opts->cap_pipe_rechdr.hdr.incl_len > 65535U) {
11606     g_snprintf(errmsg, (gulong )errmsgl, "Frame %u too long (%d bytes)",   11612     g_snprintf(errmsg, (gulong )errmsgl, "Frame %u too long (%d bytes)",
11607                ld->packet_count + 1, pcap_opts->cap_pipe_rechdr.hdr.incl_len);   11613                ld->packet_count + 1, pcap_opts->cap_pipe_rechdr.hdr.incl_len);
11608     break;   11614     break;
11609   } else {   11615   } else {
11610     11616  
11611   }   11617   }
11612   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )2;   11618   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )2;
11613   return (0);   11619   return (0);
11614   case 1U:   11620   case 1U:
11615   phdr.ts.tv_sec = (__time_t )pcap_opts->cap_pipe_rechdr.hdr.ts_sec;   11621   phdr.ts.tv_sec = (__time_t )pcap_opts->cap_pipe_rechdr.hdr.ts_sec;
11616   phdr.ts.tv_usec = (__suseconds_t )pcap_opts->cap_pipe_rechdr.hdr.ts_usec;   11622   phdr.ts.tv_usec = (__suseconds_t )pcap_opts->cap_pipe_rechdr.hdr.ts_usec;
11617   phdr.caplen = pcap_opts->cap_pipe_rechdr.hdr.incl_len;   11623   phdr.caplen = pcap_opts->cap_pipe_rechdr.hdr.incl_len;
11618   phdr.len = pcap_opts->cap_pipe_rechdr.hdr.orig_len;   11624   phdr.len = pcap_opts->cap_pipe_rechdr.hdr.orig_len;
11619   capture_loop_packet_cb((u_char *)ld, (struct pcap_pkthdr  const  *)(& phdr),   11625   capture_loop_packet_cb((u_char *)ld, (struct pcap_pkthdr  const  *)(& phdr),
11620                          (u_char const   *)data);   11626                          (u_char const   *)data);
11621   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11627   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11622   return (1);   11628   return (1);
11623   case 2U:   11629   case 2U:
11624   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )1;   11630   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )1;
11625   return (-1);   11631   return (-1);
11626   case 3U:   11632   case 3U:
11627   tmp = __errno_location();   11633   tmp = __errno_location();
11628   tmp___0 = strerror(*tmp);   11634   tmp___0 = strerror(*tmp);
11629   g_snprintf(errmsg, (gulong )errmsgl, "Error reading from pipe: %s", tmp___0);   11635   g_snprintf(errmsg, (gulong )errmsgl, "Error reading from pipe: %s", tmp___0);
11630   case 4U:   11636   case 4U:
11631   break;   11637   break;
11632   }   11638   }
11633   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11639   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11634   return (-1);   11640   return (-1);
11635 }   11641 }
11636 }   11642 }
11637 static gboolean capture_loop_open_input(capture_options *capture_opts ,   11643 static gboolean capture_loop_open_input(capture_options *capture_opts ,
11638                                         loop_data *ld , char *errmsg ,   11644                                         loop_data *ld , char *errmsg ,
11639                                         size_t errmsg_len ,   11645                                         size_t errmsg_len ,
11640                                         char *secondary_errmsg ,   11646                                         char *secondary_errmsg ,
11641                                         size_t secondary_errmsg_len )   11647                                         size_t secondary_errmsg_len )
11642 {   11648 {
11643   gchar open_err_str[256] ;   11649   gchar open_err_str[256] ;
11644   gchar *sync_msg_str ;   11650   gchar *sync_msg_str ;
11645   interface_options interface_opts ;   11651   interface_options interface_opts ;
11646   pcap_options pcap_opts ;   11652   pcap_options pcap_opts ;
11647   guint i ;   11653   guint i ;
11648   gboolean tmp ;   11654   gboolean tmp ;
11649     11655  
11650   {   11656   {
11651   i = (guint )0;   11657   i = (guint )0;
11652   while (i < (capture_opts->ifaces)->len) {   11658   while (i < (capture_opts->ifaces)->len) {
11653     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   11659     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
11654     pcap_opts.pcap_h = (pcap_t *)((void *)0);   11660     pcap_opts.pcap_h = (pcap_t *)((void *)0);
11655     pcap_opts.pcap_fd = -1;   11661     pcap_opts.pcap_fd = -1;
11656     pcap_opts.pcap_err = 0;   11662     pcap_opts.pcap_err = 0;
11657     pcap_opts.interface_id = i;   11663     pcap_opts.interface_id = i;
11658     pcap_opts.tid = (GThread *)((void *)0);   11664     pcap_opts.tid = (GThread *)((void *)0);
11659     pcap_opts.snaplen = 0;   11665     pcap_opts.snaplen = 0;
11660     pcap_opts.linktype = -1;   11666     pcap_opts.linktype = -1;
11661     pcap_opts.from_cap_pipe = 0;   11667     pcap_opts.from_cap_pipe = 0;
11662     memset((void *)(& pcap_opts.cap_pipe_hdr), 0, sizeof(struct pcap_hdr ));   11668     memset((void *)(& pcap_opts.cap_pipe_hdr), 0, sizeof(struct pcap_hdr ));
11663     memset((void *)(& pcap_opts.cap_pipe_rechdr), 0,   11669     memset((void *)(& pcap_opts.cap_pipe_rechdr), 0,
11664            sizeof(struct pcaprec_modified_hdr ));   11670            sizeof(struct pcaprec_modified_hdr ));
11665     pcap_opts.cap_pipe_fd = -1;   11671     pcap_opts.cap_pipe_fd = -1;
11666     pcap_opts.cap_pipe_modified = 0;   11672     pcap_opts.cap_pipe_modified = 0;
11667     pcap_opts.cap_pipe_byte_swapped = 0;   11673     pcap_opts.cap_pipe_byte_swapped = 0;
11668     pcap_opts.cap_pipe_bytes_to_read = 0;   11674     pcap_opts.cap_pipe_bytes_to_read = 0;
11669     pcap_opts.cap_pipe_bytes_read = 0;   11675     pcap_opts.cap_pipe_bytes_read = 0;
11670     pcap_opts.cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11676     pcap_opts.cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11671     pcap_opts.cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;   11677     pcap_opts.cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;
11672     g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_input : %s",   11678     g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_input : %s",
11673           interface_opts.name);   11679           interface_opts.name);
11674     pcap_opts.pcap_h = open_capture_device(& interface_opts, capture_opts,   11680     pcap_opts.pcap_h = open_capture_device(& interface_opts, capture_opts,
11675                                            & open_err_str);   11681                                            & open_err_str);
11676     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   11682     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
11677       tmp = set_pcap_linktype(pcap_opts.pcap_h, interface_opts.linktype,   11683       tmp = set_pcap_linktype(pcap_opts.pcap_h, interface_opts.linktype,
11678                               interface_opts.name, errmsg, errmsg_len,   11684                               interface_opts.name, errmsg, errmsg_len,
11679                               secondary_errmsg, secondary_errmsg_len);   11685                               secondary_errmsg, secondary_errmsg_len);
11680       if (tmp) {   11686       if (tmp) {
11681     11687  
11682       } else {   11688       } else {
11683         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11689         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11684         return (0);   11690         return (0);
11685       }   11691       }
11686       pcap_opts.linktype = get_pcap_linktype(pcap_opts.pcap_h,   11692       pcap_opts.linktype = get_pcap_linktype(pcap_opts.pcap_h,
11687                                              (char const   *)interface_opts.name);   11693                                              (char const   *)interface_opts.name);
11688     } else {   11694     } else {
11689       cap_pipe_open_live(interface_opts.name, & pcap_opts,   11695       cap_pipe_open_live(interface_opts.name, & pcap_opts,
11690                          & pcap_opts.cap_pipe_hdr, errmsg, (int )errmsg_len);   11696                          & pcap_opts.cap_pipe_hdr, errmsg, (int )errmsg_len);
11691       if (pcap_opts.cap_pipe_fd == -1) {   11697       if (pcap_opts.cap_pipe_fd == -1) {
11692         if ((unsigned int )pcap_opts.cap_pipe_err == 3U) {   11698         if ((unsigned int )pcap_opts.cap_pipe_err == 3U) {
11693           get_capture_device_open_failure_messages((char const   *)(open_err_str),   11699           get_capture_device_open_failure_messages((char const   *)(open_err_str),
11694                                                    (char const   *)interface_opts.name,   11700                                                    (char const   *)interface_opts.name,
11695                                                    errmsg, errmsg_len,   11701                                                    errmsg, errmsg_len,
11696                                                    secondary_errmsg,   11702                                                    secondary_errmsg,
11697                                                    secondary_errmsg_len);   11703                                                    secondary_errmsg_len);
11698         } else {   11704         } else {
11699     11705  
11700         }   11706         }
11701         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11707         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11702         return (0);   11708         return (0);
11703       } else {   11709       } else {
11704         open_err_str[0] = (gchar )'\000';   11710         open_err_str[0] = (gchar )'\000';
11705       }   11711       }
11706     }   11712     }
11707     if (! pcap_opts.from_cap_pipe) {   11713     if (! pcap_opts.from_cap_pipe) {
11708       pcap_opts.pcap_fd = pcap_get_selectable_fd(pcap_opts.pcap_h);   11714       pcap_opts.pcap_fd = pcap_get_selectable_fd(pcap_opts.pcap_h);
11709     } else {   11715     } else {
11710     11716  
11711     }   11717     }
11712     if ((int )open_err_str[0] != 0) {   11718     if ((int )open_err_str[0] != 0) {
11713       sync_msg_str = g_strdup_printf("%s.", open_err_str);   11719       sync_msg_str = g_strdup_printf("%s.", open_err_str);
11714       report_capture_error((char const   *)sync_msg_str, "");   11720       report_capture_error((char const   *)sync_msg_str, "");
11715       g_free((gpointer )sync_msg_str);   11721       g_free((gpointer )sync_msg_str);
11716     } else {   11722     } else {
11717     11723  
11718     }   11724     }
11719     capture_opts->ifaces = g_array_remove_index(capture_opts->ifaces, i);   11725     capture_opts->ifaces = g_array_remove_index(capture_opts->ifaces, i);
11720     g_array_insert_vals(capture_opts->ifaces, i,   11726     g_array_insert_vals(capture_opts->ifaces, i,
11721                         (gconstpointer )(& interface_opts), (guint )1);   11727                         (gconstpointer )(& interface_opts), (guint )1);
11722     g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11728     g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11723     i ++;   11729     i ++;
11724   }   11730   }
11725   return (1);   11731   return (1);
11726 }   11732 }
11727 }   11733 }
11728 static void capture_loop_close_input(loop_data *ld )   11734 static void capture_loop_close_input(loop_data *ld )
11729 {   11735 {
11730   guint i ;   11736   guint i ;
11731   pcap_options pcap_opts ;   11737   pcap_options pcap_opts ;
11732   int _g_boolean_var_ ;   11738   int _g_boolean_var_ ;
11733   long tmp ;   11739   long tmp ;
11734     11740  
11735   {   11741   {
11736   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_input");   11742   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_input");
11737   i = (guint )0;   11743   i = (guint )0;
11738   while (i < (ld->pcaps)->len) {   11744   while (i < (ld->pcaps)->len) {
11739     pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);   11745     pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);
11740     if (pcap_opts.cap_pipe_fd >= 0) {   11746     if (pcap_opts.cap_pipe_fd >= 0) {
11741       while (1) {   11747       while (1) {
11742         if (pcap_opts.from_cap_pipe) {   11748         if (pcap_opts.from_cap_pipe) {
11743           _g_boolean_var_ = 1;   11749           _g_boolean_var_ = 1;
11744         } else {   11750         } else {
11745           _g_boolean_var_ = 0;   11751           _g_boolean_var_ = 0;
11746         }   11752         }
11747         tmp = __builtin_expect((long )_g_boolean_var_, 1L);   11753         tmp = __builtin_expect((long )_g_boolean_var_, 1L);
11748         if (tmp) {   11754         if (tmp) {
11749     11755  
11750         } else {   11756         } else {
11751           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",   11757           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",
11752                                    2381, "capture_loop_close_input",   11758                                    2381, "capture_loop_close_input",
11753                                    "pcap_opts.from_cap_pipe");   11759                                    "pcap_opts.from_cap_pipe");
11754         }   11760         }
11755         break;   11761         break;
11756       }   11762       }
11757       close(pcap_opts.cap_pipe_fd);   11763       close(pcap_opts.cap_pipe_fd);
11758       pcap_opts.cap_pipe_fd = -1;   11764       pcap_opts.cap_pipe_fd = -1;
11759     } else {   11765     } else {
11760     11766  
11761     }   11767     }
11762     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   11768     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
11763       g_log("CaptureChild", (GLogLevelFlags )128,   11769       g_log("CaptureChild", (GLogLevelFlags )128,
11764             "capture_loop_close_input: closing %p", pcap_opts.pcap_h);   11770             "capture_loop_close_input: closing %p", pcap_opts.pcap_h);
11765       pcap_close(pcap_opts.pcap_h);   11771       pcap_close(pcap_opts.pcap_h);
11766       pcap_opts.pcap_h = (pcap_t *)((void *)0);   11772       pcap_opts.pcap_h = (pcap_t *)((void *)0);
11767     } else {   11773     } else {
11768     11774  
11769     }   11775     }
11770     i ++;   11776     i ++;
11771   }   11777   }
11772   ld->go = 0;   11778   ld->go = 0;
11773   return;   11779   return;
11774 }   11780 }
11775 }   11781 }
11776 static initfilter_status_t capture_loop_init_filter(pcap_t *pcap_h ,   11782 static initfilter_status_t capture_loop_init_filter(pcap_t *pcap_h ,
11777                                                     gboolean from_cap_pipe ,   11783                                                     gboolean from_cap_pipe ,
11778                                                     gchar *name ,   11784                                                     gchar *name ,
11779                                                     gchar *cfilter )   11785                                                     gchar *cfilter )
11780 {   11786 {
11781   struct bpf_program fcode ;   11787   struct bpf_program fcode ;
11782   gboolean tmp ;   11788   gboolean tmp ;
11783   int tmp___0 ;   11789   int tmp___0 ;
11784     11790  
11785   {   11791   {
11786   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_filter: %s",   11792   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_filter: %s",
11787         cfilter);   11793         cfilter);
11788   if (cfilter) {   11794   if (cfilter) {
11789     if (! from_cap_pipe) {   11795     if (! from_cap_pipe) {
11790       tmp = compile_capture_filter((char const   *)name, pcap_h, & fcode,   11796       tmp = compile_capture_filter((char const   *)name, pcap_h, & fcode,
11791                                    cfilter);   11797                                    cfilter);
11792       if (tmp) {   11798       if (tmp) {
11793     11799  
11794       } else {   11800       } else {
11795         return ((initfilter_status_t )1);   11801         return ((initfilter_status_t )1);
11796       }   11802       }
11797       tmp___0 = pcap_setfilter(pcap_h, & fcode);   11803       tmp___0 = pcap_setfilter(pcap_h, & fcode);
11798       if (tmp___0 < 0) {   11804       if (tmp___0 < 0) {
11799         pcap_freecode(& fcode);   11805         pcap_freecode(& fcode);
11800         return ((initfilter_status_t )2);   11806         return ((initfilter_status_t )2);
11801       } else {   11807       } else {
11802     11808  
11803       }   11809       }
11804       pcap_freecode(& fcode);   11810       pcap_freecode(& fcode);
11805     } else {   11811     } else {
11806     11812  
11807     }   11813     }
11808   } else {   11814   } else {
11809     11815  
11810   }   11816   }
11811   return ((initfilter_status_t )0);   11817   return ((initfilter_status_t )0);
11812 }   11818 }
11813 }   11819 }
11814 static gboolean capture_loop_init_output(capture_options *capture_opts ,   11820 static gboolean capture_loop_init_output(capture_options *capture_opts ,
11815                                          loop_data *ld , char *errmsg ,   11821                                          loop_data *ld , char *errmsg ,
11816                                          int errmsg_len )   11822                                          int errmsg_len )
11817 {   11823 {
11818   int err ;   11824   int err ;
11819   guint i ;   11825   guint i ;
11820   pcap_options pcap_opts ;   11826   pcap_options pcap_opts ;
11821   interface_options interface_opts ;   11827   interface_options interface_opts ;
11822   gboolean successful ;   11828   gboolean successful ;
11823   char appname[100] ;   11829   char appname[100] ;
11824   char *tmp ;   11830   char *tmp ;
11825     11831  
11826   {   11832   {
11827   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_output");   11833   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_output");
11828   if (capture_opts->use_pcapng == 0) {   11834   if (capture_opts->use_pcapng == 0) {
11829     if ((capture_opts->ifaces)->len > 1U) {   11835     if ((capture_opts->ifaces)->len > 1U) {
11830       g_snprintf(errmsg, (gulong )errmsg_len,   11836       g_snprintf(errmsg, (gulong )errmsg_len,
11831                  "Using PCAPNG is required for capturing on mulitple interfaces! Use the -n option.");   11837                  "Using PCAPNG is required for capturing on mulitple interfaces! Use the -n option.");
11832       return (0);   11838       return (0);
11833     } else {   11839     } else {
11834     11840  
11835     }   11841     }
11836   } else {   11842   } else {
11837     11843  
11838   }   11844   }
11839   if (capture_opts->multi_files_on) {   11845   if (capture_opts->multi_files_on) {
11840     ld->pdh = ringbuf_init_libpcap_fdopen(& err);   11846     ld->pdh = ringbuf_init_libpcap_fdopen(& err);
11841   } else {   11847   } else {
11842     ld->pdh = libpcap_fdopen(ld->save_file_fd, & err);   11848     ld->pdh = libpcap_fdopen(ld->save_file_fd, & err);
11843   }   11849   }
11844   if (ld->pdh) {   11850   if (ld->pdh) {
11845     if (capture_opts->use_pcapng) {   11851     if (capture_opts->use_pcapng) {
11846       g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",   11852       g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",
11847                  wireshark_svnversion);   11853                  wireshark_svnversion);
11848       successful = libpcap_write_session_header_block(ld->pdh, appname,   11854       successful = libpcap_write_session_header_block(ld->pdh, appname,
11849                                                       & ld->bytes_written, & err);   11855                                                       & ld->bytes_written, & err);
11850       i = (guint )0;   11856       i = (guint )0;
11851       while (1) {   11857       while (1) {
11852         if (successful) {   11858         if (successful) {
11853           if (i < (capture_opts->ifaces)->len) {   11859           if (i < (capture_opts->ifaces)->len) {
11854     11860  
11855           } else {   11861           } else {
11856             break;   11862             break;
11857           }   11863           }
11858         } else {   11864         } else {
11859           break;   11865           break;
11860         }   11866         }
11861         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   11867         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
11862         pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);   11868         pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);
11863         if (pcap_opts.from_cap_pipe) {   11869         if (pcap_opts.from_cap_pipe) {
11864           pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;   11870           pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;
11865         } else {   11871         } else {
11866           pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);   11872           pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);
11867         }   11873         }
11868         successful = libpcap_write_interface_description_block(ld->pdh,   11874         successful = libpcap_write_interface_description_block(ld->pdh,
11869                                                                interface_opts.name,   11875                                                                interface_opts.name,
11870                                                                interface_opts.cfilter,   11876                                                                interface_opts.cfilter,
11871                                                                pcap_opts.linktype,   11877                                                                pcap_opts.linktype,
11872                                                                pcap_opts.snaplen,   11878                                                                pcap_opts.snaplen,
11873                                                                & ld->bytes_written,   11879                                                                & ld->bytes_written,
11874                                                                & err);   11880                                                                & err);
11875         i ++;   11881         i ++;
11876       }   11882       }
11877     } else {   11883     } else {
11878       interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);   11884       interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);
11879       pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + 0);   11885       pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + 0);
11880       if (pcap_opts.from_cap_pipe) {   11886       if (pcap_opts.from_cap_pipe) {
11881         pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;   11887         pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;
11882       } else {   11888       } else {
11883         pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);   11889         pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);
11884       }   11890       }
11885       successful = libpcap_write_file_header(ld->pdh, pcap_opts.linktype,   11891       successful = libpcap_write_file_header(ld->pdh, pcap_opts.linktype,
11886                                              pcap_opts.snaplen,   11892                                              pcap_opts.snaplen,
11887                                              & ld->bytes_written, & err);   11893                                              & ld->bytes_written, & err);
11888     }   11894     }
11889     if (! successful) {   11895     if (! successful) {
11890       fclose(ld->pdh);   11896       fclose(ld->pdh);
11891       ld->pdh = (FILE *)((void *)0);   11897       ld->pdh = (FILE *)((void *)0);
11892     } else {   11898     } else {
11893     11899  
11894     }   11900     }
11895   } else {   11901   } else {
11896     11902  
11897   }   11903   }
11898   if ((unsigned int )ld->pdh == (unsigned int )((void *)0)) {   11904   if ((unsigned int )ld->pdh == (unsigned int )((void *)0)) {
11899     switch (err) {   11905     switch (err) {
11900     default:   11906     default:
11901     if (err < 0) {   11907     if (err < 0) {
11902       g_snprintf(errmsg, (gulong )errmsg_len,   11908       g_snprintf(errmsg, (gulong )errmsg_len,
11903                  "The file to which the capture would be saved (\"%s\") could not be opened: Error %d.",   11909                  "The file to which the capture would be saved (\"%s\") could not be opened: Error %d.",
11904                  capture_opts->save_file, err);   11910                  capture_opts->save_file, err);
11905     } else {   11911     } else {
11906       tmp = strerror(err);   11912       tmp = strerror(err);
11907       g_snprintf(errmsg, (gulong )errmsg_len,   11913       g_snprintf(errmsg, (gulong )errmsg_len,
11908                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",   11914                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",
11909                  capture_opts->save_file, tmp);   11915                  capture_opts->save_file, tmp);
11910     }   11916     }
11911     break;   11917     break;
11912     }   11918     }
11913     return (0);   11919     return (0);
11914   } else {   11920   } else {
11915     11921  
11916   }   11922   }
11917   return (1);   11923   return (1);
11918 }   11924 }
11919 }   11925 }
11920 static gboolean capture_loop_close_output(capture_options *capture_opts ,   11926 static gboolean capture_loop_close_output(capture_options *capture_opts ,
11921                                           loop_data *ld , int *err_close )   11927                                           loop_data *ld , int *err_close )
11922 {   11928 {
11923   unsigned int i ;   11929   unsigned int i ;
11924   pcap_options pcap_opts ;   11930   pcap_options pcap_opts ;
11925   gboolean tmp ;   11931   gboolean tmp ;
11926   gboolean tmp___0 ;   11932   gboolean tmp___0 ;
11927     11933  
11928   {   11934   {
11929   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_output");   11935   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_output");
11930   if (capture_opts->multi_files_on) {   11936   if (capture_opts->multi_files_on) {
11931     tmp = ringbuf_libpcap_dump_close(& capture_opts->save_file, err_close);   11937     tmp = ringbuf_libpcap_dump_close(& capture_opts->save_file, err_close);
11932     return (tmp);   11938     return (tmp);
11933   } else {   11939   } else {
11934     if (capture_opts->use_pcapng) {   11940     if (capture_opts->use_pcapng) {
11935       i = 0U;   11941       i = 0U;
11936       while (i < (global_ld.pcaps)->len) {   11942       while (i < (global_ld.pcaps)->len) {
11937         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   11943         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
11938         if (! pcap_opts.from_cap_pipe) {   11944         if (! pcap_opts.from_cap_pipe) {
11939           libpcap_write_interface_statistics_block(ld->pdh, i, pcap_opts.pcap_h,   11945           libpcap_write_interface_statistics_block(ld->pdh, i, pcap_opts.pcap_h,
11940                                                    & ld->bytes_written,   11946                                                    & ld->bytes_written,
11941                                                    err_close);   11947                                                    err_close);
11942         } else {   11948         } else {
11943     11949  
11944         }   11950         }
11945         i ++;   11951         i ++;
11946       }   11952       }
11947     } else {   11953     } else {
11948     11954  
11949     }   11955     }
11950     tmp___0 = libpcap_dump_close(ld->pdh, err_close);   11956     tmp___0 = libpcap_dump_close(ld->pdh, err_close);
11951     return (tmp___0);   11957     return (tmp___0);
11952   }   11958   }
11953 }   11959 }
11954 }   11960 }
11955 static int capture_loop_dispatch(capture_options *capture_opts  __attribute__((__unused__)) ,   11961 static int capture_loop_dispatch(capture_options *capture_opts  __attribute__((__unused__)) ,
11956                                  loop_data *ld , char *errmsg , int errmsg_len ,   11962                                  loop_data *ld , char *errmsg , int errmsg_len ,
11957                                  pcap_options *pcap_opts )   11963                                  pcap_options *pcap_opts )
11958 {   11964 {
11959   int inpkts ;   11965   int inpkts ;
11960   gint packet_count_before ;   11966   gint packet_count_before ;
11961   guchar pcap_data[65535] ;   11967   guchar pcap_data[65535] ;
11962   int sel_ret ;   11968   int sel_ret ;
11963   int *tmp ;   11969   int *tmp ;
11964   char *tmp___0 ;   11970   char *tmp___0 ;
11965   int *tmp___1 ;   11971   int *tmp___1 ;
11966   int *tmp___2 ;   11972   int *tmp___2 ;
11967   char *tmp___3 ;   11973   char *tmp___3 ;
11968   int *tmp___4 ;   11974   int *tmp___4 ;
11969     11975  
11970   {   11976   {
11971   packet_count_before = ld->packet_count;   11977   packet_count_before = ld->packet_count;
11972   if (pcap_opts->from_cap_pipe) {   11978   if (pcap_opts->from_cap_pipe) {
11973     sel_ret = cap_pipe_select(pcap_opts->cap_pipe_fd);   11979     sel_ret = cap_pipe_select(pcap_opts->cap_pipe_fd);
11974     if (sel_ret <= 0) {   11980     if (sel_ret <= 0) {
11975       if (sel_ret < 0) {   11981       if (sel_ret < 0) {
11976         tmp___1 = __errno_location();   11982         tmp___1 = __errno_location();
11977         if (*tmp___1 != 4) {   11983         if (*tmp___1 != 4) {
11978           tmp = __errno_location();   11984           tmp = __errno_location();
11979           tmp___0 = strerror(*tmp);   11985           tmp___0 = strerror(*tmp);
11980           g_snprintf(errmsg, (gulong )errmsg_len,   11986           g_snprintf(errmsg, (gulong )errmsg_len,
11981                      "Unexpected error from select: %s", tmp___0);   11987                      "Unexpected error from select: %s", tmp___0);
11982           report_capture_error((char const   *)errmsg, please_report);   11988           report_capture_error((char const   *)errmsg, please_report);
11983           ld->go = 0;   11989           ld->go = 0;
11984         } else {   11990         } else {
11985     11991  
11986         }   11992         }
11987       } else {   11993       } else {
11988     11994  
11989       }   11995       }
11990     } else {   11996     } else {
11991       inpkts = cap_pipe_dispatch(ld, pcap_opts, pcap_data, errmsg, errmsg_len);   11997       inpkts = cap_pipe_dispatch(ld, pcap_opts, pcap_data, errmsg, errmsg_len);
11992       if (inpkts < 0) {   11998       if (inpkts < 0) {
11993         ld->go = 0;   11999         ld->go = 0;
11994       } else {   12000       } else {
11995     12001  
11996       }   12002       }
11997     }   12003     }
11998   } else   12004   } else
11999   if (pcap_opts->pcap_fd != -1) {   12005   if (pcap_opts->pcap_fd != -1) {
12000     sel_ret = cap_pipe_select(pcap_opts->pcap_fd);   12006     sel_ret = cap_pipe_select(pcap_opts->pcap_fd);
12001     if (sel_ret > 0) {   12007     if (sel_ret > 0) {
12002       inpkts = pcap_dispatch(pcap_opts->pcap_h, 1, & capture_loop_packet_cb,   12008       inpkts = pcap_dispatch(pcap_opts->pcap_h, 1, & capture_loop_packet_cb,
12003                              (u_char *)(& pcap_opts->interface_id));   12009                              (u_char *)(& pcap_opts->interface_id));
12004       if (inpkts < 0) {   12010       if (inpkts < 0) {
12005         if (inpkts == -1) {   12011         if (inpkts == -1) {
12006           pcap_opts->pcap_err = 1;   12012           pcap_opts->pcap_err = 1;
12007         } else {   12013         } else {
12008     12014  
12009         }   12015         }
12010         ld->go = 0;   12016         ld->go = 0;
12011       } else {   12017       } else {
12012     12018  
12013       }   12019       }
12014     } else   12020     } else
12015     if (sel_ret < 0) {   12021     if (sel_ret < 0) {
12016       tmp___4 = __errno_location();   12022       tmp___4 = __errno_location();
12017       if (*tmp___4 != 4) {   12023       if (*tmp___4 != 4) {
12018         tmp___2 = __errno_location();   12024         tmp___2 = __errno_location();
12019         tmp___3 = strerror(*tmp___2);   12025         tmp___3 = strerror(*tmp___2);
12020         g_snprintf(errmsg, (gulong )errmsg_len,   12026         g_snprintf(errmsg, (gulong )errmsg_len,
12021                    "Unexpected error from select: %s", tmp___3);   12027                    "Unexpected error from select: %s", tmp___3);
12022         report_capture_error((char const   *)errmsg, please_report);   12028         report_capture_error((char const   *)errmsg, please_report);
12023         ld->go = 0;   12029         ld->go = 0;
12024       } else {   12030       } else {
12025     12031  
12026       }   12032       }
12027     } else {   12033     } else {
12028     12034  
12029     }   12035     }
12030   } else {   12036   } else {
12031     inpkts = pcap_dispatch(pcap_opts->pcap_h, -1, & capture_loop_packet_cb,   12037     inpkts = pcap_dispatch(pcap_opts->pcap_h, -1, & capture_loop_packet_cb,
12032                            (u_char *)ld);   12038                            (u_char *)ld);
12033     if (inpkts < 0) {   12039     if (inpkts < 0) {
12034       if (inpkts == -1) {   12040       if (inpkts == -1) {
12035         pcap_opts->pcap_err = 1;   12041         pcap_opts->pcap_err = 1;
12036       } else {   12042       } else {
12037     12043  
12038       }   12044       }
12039       ld->go = 0;   12045       ld->go = 0;
12040     } else {   12046     } else {
12041     12047  
12042     }   12048     }
12043   }   12049   }
12044   return (ld->packet_count - packet_count_before);   12050   return (ld->packet_count - packet_count_before);
12045 }   12051 }
12046 }   12052 }
12047 static gboolean capture_loop_open_output(capture_options *capture_opts ,   12053 static gboolean capture_loop_open_output(capture_options *capture_opts ,
12048                                          int *save_file_fd , char *errmsg ,   12054                                          int *save_file_fd , char *errmsg ,
12049                                          int errmsg_len )   12055                                          int errmsg_len )
12050 {   12056 {
12051   char *tmpname ;   12057   char *tmpname ;
12052   gchar *capfile_name ;   12058   gchar *capfile_name ;
12053   gchar *prefix ;   12059   gchar *prefix ;
12054   gboolean is_tempfile ;   12060   gboolean is_tempfile ;
12055   char const   *tmp ;   12061   char const   *tmp ;
12056   size_t __s1_len ;   12062   size_t __s1_len ;
12057   size_t __s2_len ;   12063   size_t __s2_len ;
12058   int tmp___0 ;   12064   int tmp___0 ;
12059   int tmp___1 ;   12065   int tmp___1 ;
12060   int tmp___2 ;   12066   int tmp___2 ;
12061   unsigned char const   *__s2 ;   12067   unsigned char const   *__s2 ;
12062   register int __result ;   12068   register int __result ;
12063   int tmp___3 ;   12069   int tmp___3 ;
12064   unsigned char const   *__s1 ;   12070   unsigned char const   *__s1 ;
12065   register int __result___0 ;   12071   register int __result___0 ;
12066   int tmp___4 ;   12072   int tmp___4 ;
12067   int tmp___5 ;   12073   int tmp___5 ;
12068   int tmp___6 ;   12074   int tmp___6 ;
12069   guint32 tmp___7 ;   12075   guint32 tmp___7 ;
12070   gchar const   *tmp___8 ;   12076   gchar const   *tmp___8 ;
12071   int tmp___9 ;   12077   int tmp___9 ;
12072   gchar const   *tmp___10 ;   12078   gchar const   *tmp___10 ;
12073   int *tmp___11 ;   12079   int *tmp___11 ;
12074   char *tmp___12 ;   12080   char *tmp___12 ;
12075   int *tmp___13 ;   12081   int *tmp___13 ;
12076   char *tmp___14 ;   12082   char *tmp___14 ;
12077     12083  
12078   {   12084   {
12079   if (capture_opts->save_file) {   12085   if (capture_opts->save_file) {
12080     tmp = (char const   *)capture_opts->save_file;   12086     tmp = (char const   *)capture_opts->save_file;
12081   } else {   12087   } else {
12082     tmp = "(not specified)";   12088     tmp = "(not specified)";
12083   }   12089   }
12084   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_output: %s",   12090   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_output: %s",
12085         tmp);   12091         tmp);
12086   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   12092   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
12087     capfile_name = g_strdup((gchar const   *)capture_opts->save_file);   12093     capfile_name = g_strdup((gchar const   *)capture_opts->save_file);
12088     if (capture_opts->output_to_pipe == 1) {   12094     if (capture_opts->output_to_pipe == 1) {
12089       if (capture_opts->multi_files_on) {   12095       if (capture_opts->multi_files_on) {
12090         g_snprintf(errmsg, (gulong )errmsg_len,   12096         g_snprintf(errmsg, (gulong )errmsg_len,
12091                    "Ring buffer requested, but capture is being written to standard output or to a named pipe.");   12097                    "Ring buffer requested, but capture is being written to standard output or to a named pipe.");
12092         g_free((gpointer )capfile_name);   12098         g_free((gpointer )capfile_name);
12093         return (0);   12099         return (0);
12094       } else {   12100       } else {
12095     12101  
12096       }   12102       }
12097       if (0) {   12103       if (0) {
12098         __s1_len = strlen((char const   *)capfile_name);   12104         __s1_len = strlen((char const   *)capfile_name);
12099         __s2_len = strlen("-");   12105         __s2_len = strlen("-");
12100         if (! ((size_t )((void const   *)(capfile_name + 1)) - (size_t )((void const   *)capfile_name) == 1U)) {   12106         if (! ((size_t )((void const   *)(capfile_name + 1)) - (size_t )((void const   *)capfile_name) == 1U)) {
12101           goto _L___0;   12107           goto _L___0;
12102         } else   12108         } else
12103         if (__s1_len >= 4U) {   12109         if (__s1_len >= 4U) {
12104           _L___0: /* CIL Label */   12110           _L___0: /* CIL Label */
12105           if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {   12111           if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {
12106             tmp___6 = 1;   12112             tmp___6 = 1;
12107           } else   12113           } else
12108           if (__s2_len >= 4U) {   12114           if (__s2_len >= 4U) {
12109             tmp___6 = 1;   12115             tmp___6 = 1;
12110           } else {   12116           } else {
12111             tmp___6 = 0;   12117             tmp___6 = 0;
12112           }   12118           }
12113         } else {   12119         } else {
12114           tmp___6 = 0;   12120           tmp___6 = 0;
12115         }   12121         }
12116         if (tmp___6) {   12122         if (tmp___6) {
12117           tmp___1 = __builtin_strcmp((char const   *)capfile_name, "-");   12123           tmp___1 = __builtin_strcmp((char const   *)capfile_name, "-");
12118           tmp___5 = tmp___1;   12124           tmp___5 = tmp___1;
12119         } else {   12125         } else {
12120           tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");   12126           tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");
12121           tmp___5 = tmp___4;   12127           tmp___5 = tmp___4;
12122         }   12128         }
12123       } else {   12129       } else {
12124         tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");   12130         tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");
12125         tmp___5 = tmp___4;   12131         tmp___5 = tmp___4;
12126       }   12132       }
12127       if (tmp___5 == 0) {   12133       if (tmp___5 == 0) {
12128         *save_file_fd = 1;   12134         *save_file_fd = 1;
12129       } else {   12135       } else {
12130     12136  
12131       }   12137       }
12132     } else   12138     } else
12133     if (capture_opts->multi_files_on) {   12139     if (capture_opts->multi_files_on) {
12134       if (capture_opts->has_ring_num_files) {   12140       if (capture_opts->has_ring_num_files) {
12135         tmp___7 = capture_opts->ring_num_files;   12141         tmp___7 = capture_opts->ring_num_files;
12136       } else {   12142       } else {
12137         tmp___7 = (guint32 )0;   12143         tmp___7 = (guint32 )0;
12138       }   12144       }
12139       *save_file_fd = ringbuf_init((char const   *)capfile_name, tmp___7,   12145       *save_file_fd = ringbuf_init((char const   *)capfile_name, tmp___7,
12140                                    capture_opts->group_read_access);   12146                                    capture_opts->group_read_access);
12141       if (*save_file_fd != -1) {   12147       if (*save_file_fd != -1) {
12142         g_free((gpointer )capfile_name);   12148         g_free((gpointer )capfile_name);
12143         tmp___8 = ringbuf_current_filename();   12149         tmp___8 = ringbuf_current_filename();
12144         capfile_name = g_strdup(tmp___8);   12150         capfile_name = g_strdup(tmp___8);
12145       } else {   12151       } else {
12146     12152  
12147       }   12153       }
12148     } else {   12154     } else {
12149       if (capture_opts->group_read_access) {   12155       if (capture_opts->group_read_access) {
12150         tmp___9 = 416;   12156         tmp___9 = 416;
12151       } else {   12157       } else {
12152         tmp___9 = 384;   12158         tmp___9 = 384;
12153       }   12159       }
12154       *save_file_fd = open((char const   *)capfile_name, 578, tmp___9);   12160       *save_file_fd = open((char const   *)capfile_name, 578, tmp___9);
12155     }   12161     }
12156     is_tempfile = 0;   12162     is_tempfile = 0;
12157   } else {   12163   } else {
12158     tmp___10 = g_basename((gchar const   *)((interface_options *)((void *)(global_capture_opts.ifaces)->data) + ((global_capture_opts.ifaces)->len - 1U))->name);   12164     tmp___10 = g_basename((gchar const   *)((interface_options *)((void *)(global_capture_opts.ifaces)->data) + ((global_capture_opts.ifaces)->len - 1U))->name);
12159     prefix = g_strconcat("wireshark_", tmp___10, (void *)0);   12165     prefix = g_strconcat("wireshark_", tmp___10, (void *)0);
12160     *save_file_fd = create_tempfile(& tmpname, (char const   *)prefix);   12166     *save_file_fd = create_tempfile(& tmpname, (char const   *)prefix);
12161     g_free((gpointer )prefix);   12167     g_free((gpointer )prefix);
12162     capfile_name = g_strdup((gchar const   *)tmpname);   12168     capfile_name = g_strdup((gchar const   *)tmpname);
12163     is_tempfile = 1;   12169     is_tempfile = 1;
12164   }   12170   }
12165   if (*save_file_fd == -1) {   12171   if (*save_file_fd == -1) {
12166     if (is_tempfile) {   12172     if (is_tempfile) {
12167       tmp___11 = __errno_location();   12173       tmp___11 = __errno_location();
12168       tmp___12 = strerror(*tmp___11);   12174       tmp___12 = strerror(*tmp___11);
12169       g_snprintf(errmsg, (gulong )errmsg_len,   12175       g_snprintf(errmsg, (gulong )errmsg_len,
12170                  "The temporary file to which the capture would be saved (\"%s\") could not be opened: %s.",   12176                  "The temporary file to which the capture would be saved (\"%s\") could not be opened: %s.",
12171                  capfile_name, tmp___12);   12177                  capfile_name, tmp___12);
12172     } else {   12178     } else {
12173       if (capture_opts->multi_files_on) {   12179       if (capture_opts->multi_files_on) {
12174         ringbuf_error_cleanup();   12180         ringbuf_error_cleanup();
12175       } else {   12181       } else {
12176     12182  
12177       }   12183       }
12178       tmp___13 = __errno_location();   12184       tmp___13 = __errno_location();
12179       tmp___14 = strerror(*tmp___13);   12185       tmp___14 = strerror(*tmp___13);
12180       g_snprintf(errmsg, (gulong )errmsg_len,   12186       g_snprintf(errmsg, (gulong )errmsg_len,
12181                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",   12187                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",
12182                  capfile_name, tmp___14);   12188                  capfile_name, tmp___14);
12183     }   12189     }
12184     g_free((gpointer )capfile_name);   12190     g_free((gpointer )capfile_name);
12185     return (0);   12191     return (0);
12186   } else {   12192   } else {
12187     12193  
12188   }   12194   }
12189   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   12195   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
12190     g_free((gpointer )capture_opts->save_file);   12196     g_free((gpointer )capture_opts->save_file);
12191   } else {   12197   } else {
12192     12198  
12193   }   12199   }
12194   capture_opts->save_file = capfile_name;   12200   capture_opts->save_file = capfile_name;
12195   return (1);   12201   return (1);
12196 }   12202 }
12197 }   12203 }
12198 static gboolean do_file_switch_or_stop(capture_options *capture_opts ,   12204 static gboolean do_file_switch_or_stop(capture_options *capture_opts ,
12199                                        condition *cnd_autostop_files ,   12205                                        condition *cnd_autostop_files ,
12200                                        condition *cnd_autostop_size ,   12206                                        condition *cnd_autostop_size ,
12201                                        condition *cnd_file_duration )   12207                                        condition *cnd_file_duration )
12202 {   12208 {
12203   guint i ;   12209   guint i ;
12204   pcap_options pcap_opts ;   12210   pcap_options pcap_opts ;
12205   interface_options interface_opts ;   12211   interface_options interface_opts ;
12206   gboolean successful ;   12212   gboolean successful ;
12207   gboolean tmp ;   12213   gboolean tmp ;
12208   char appname[100] ;   12214   char appname[100] ;
12209   gboolean tmp___0 ;   12215   gboolean tmp___0 ;
12210     12216  
12211   {   12217   {
12212   if (capture_opts->multi_files_on) {   12218   if (capture_opts->multi_files_on) {
12213     if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {   12219     if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {
12214       (global_ld.autostop_files) ++;   12220       (global_ld.autostop_files) ++;
12215       tmp = cnd_eval(cnd_autostop_files, global_ld.autostop_files);   12221       tmp = cnd_eval(cnd_autostop_files, global_ld.autostop_files);
12216       if (tmp) {   12222       if (tmp) {
12217         global_ld.go = 0;   12223         global_ld.go = 0;
12218         return (0);   12224         return (0);
12219       } else {   12225       } else {
12220     12226  
12221       }   12227       }
12222     } else {   12228     } else {
12223     12229  
12224     }   12230     }
12225     tmp___0 = ringbuf_switch_file(& global_ld.pdh, & capture_opts->save_file,   12231     tmp___0 = ringbuf_switch_file(& global_ld.pdh, & capture_opts->save_file,
12226                                   & global_ld.save_file_fd, & global_ld.err);   12232                                   & global_ld.save_file_fd, & global_ld.err);
12227     if (tmp___0) {   12233     if (tmp___0) {
12228       global_ld.bytes_written = 0L;   12234       global_ld.bytes_written = 0L;
12229       if (capture_opts->use_pcapng) {   12235       if (capture_opts->use_pcapng) {
12230         g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",   12236         g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",
12231                    wireshark_svnversion);   12237                    wireshark_svnversion);
12232         successful = libpcap_write_session_header_block(global_ld.pdh, appname,   12238         successful = libpcap_write_session_header_block(global_ld.pdh, appname,
12233                                                         & global_ld.bytes_written,   12239                                                         & global_ld.bytes_written,
12234                                                         & global_ld.err);   12240                                                         & global_ld.err);
12235         i = (guint )0;   12241         i = (guint )0;
12236         while (1) {   12242         while (1) {
12237           if (successful) {   12243           if (successful) {
12238             if (i < (capture_opts->ifaces)->len) {   12244             if (i < (capture_opts->ifaces)->len) {
12239     12245  
12240             } else {   12246             } else {
12241               break;   12247               break;
12242             }   12248             }
12243           } else {   12249           } else {
12244             break;   12250             break;
12245           }   12251           }
12246           interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   12252           interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
12247           pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12253           pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12248           successful = libpcap_write_interface_description_block(global_ld.pdh,   12254           successful = libpcap_write_interface_description_block(global_ld.pdh,
12249                                                                  interface_opts.name,   12255                                                                  interface_opts.name,
12250                                                                  interface_opts.cfilter,   12256                                                                  interface_opts.cfilter,
12251                                                                  pcap_opts.linktype,   12257                                                                  pcap_opts.linktype,
12252                                                                  pcap_opts.snaplen,   12258                                                                  pcap_opts.snaplen,
12253                                                                  & global_ld.bytes_written,   12259                                                                  & global_ld.bytes_written,
12254                                                                  & global_ld.err);   12260                                                                  & global_ld.err);
12255           i ++;   12261           i ++;
12256         }   12262         }
12257       } else {   12263       } else {
12258         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);   12264         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);
12259         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + 0);   12265         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + 0);
12260         successful = libpcap_write_file_header(global_ld.pdh,   12266         successful = libpcap_write_file_header(global_ld.pdh,
12261                                                pcap_opts.linktype,   12267                                                pcap_opts.linktype,
12262                                                pcap_opts.snaplen,   12268                                                pcap_opts.snaplen,
12263                                                & global_ld.bytes_written,   12269                                                & global_ld.bytes_written,
12264                                                & global_ld.err);   12270                                                & global_ld.err);
12265       }   12271       }
12266       if (! successful) {   12272       if (! successful) {
12267         fclose(global_ld.pdh);   12273         fclose(global_ld.pdh);
12268         global_ld.pdh = (FILE *)((void *)0);   12274         global_ld.pdh = (FILE *)((void *)0);
12269         global_ld.go = 0;   12275         global_ld.go = 0;
12270         return (0);   12276         return (0);
12271       } else {   12277       } else {
12272     12278  
12273       }   12279       }
12274       if (cnd_autostop_size) {   12280       if (cnd_autostop_size) {
12275         cnd_reset(cnd_autostop_size);   12281         cnd_reset(cnd_autostop_size);
12276       } else {   12282       } else {
12277     12283  
12278       }   12284       }
12279       if (cnd_file_duration) {   12285       if (cnd_file_duration) {
12280         cnd_reset(cnd_file_duration);   12286         cnd_reset(cnd_file_duration);
12281       } else {   12287       } else {
12282     12288  
12283       }   12289       }
12284       libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12290       libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12285       if (! quiet) {   12291       if (! quiet) {
12286         report_packet_count(global_ld.inpkts_to_sync_pipe);   12292         report_packet_count(global_ld.inpkts_to_sync_pipe);
12287       } else {   12293       } else {
12288     12294  
12289       }   12295       }
12290       global_ld.inpkts_to_sync_pipe = 0;   12296       global_ld.inpkts_to_sync_pipe = 0;
12291       report_new_capture_file((char const   *)capture_opts->save_file);   12297       report_new_capture_file((char const   *)capture_opts->save_file);
12292     } else {   12298     } else {
12293       global_ld.go = 0;   12299       global_ld.go = 0;
12294       return (0);   12300       return (0);
12295     }   12301     }
12296   } else {   12302   } else {
12297     global_ld.go = 0;   12303     global_ld.go = 0;
12298     return (0);   12304     return (0);
12299   }   12305   }
12300   return (1);   12306   return (1);
12301 }   12307 }
12302 }   12308 }
12303 static gboolean capture_loop_start(capture_options *capture_opts ,   12309 static gboolean capture_loop_start(capture_options *capture_opts ,
12304                                    gboolean *stats_known ,   12310                                    gboolean *stats_known ,
12305                                    struct pcap_stat *stats )   12311                                    struct pcap_stat *stats )
12306 {   12312 {
12307   struct timeval upd_time ;   12313   struct timeval upd_time ;
12308   struct timeval cur_time ;   12314   struct timeval cur_time ;
12309   int err_close ;   12315   int err_close ;
12310   int inpkts ;   12316   int inpkts ;
12311   condition *cnd_file_duration ;   12317   condition *cnd_file_duration ;
12312   condition *cnd_autostop_files ;   12318   condition *cnd_autostop_files ;
12313   condition *cnd_autostop_size ;   12319   condition *cnd_autostop_size ;
12314   condition *cnd_autostop_duration ;   12320   condition *cnd_autostop_duration ;
12315   gboolean write_ok ;   12321   gboolean write_ok ;
12316   gboolean close_ok ;   12322   gboolean close_ok ;
12317   gboolean cfilter_error ;   12323   gboolean cfilter_error ;
12318   char errmsg[4097] ;   12324   char errmsg[4097] ;
12319   char secondary_errmsg[4097] ;   12325   char secondary_errmsg[4097] ;
12320   pcap_options pcap_opts ;   12326   pcap_options pcap_opts ;
12321   interface_options interface_opts ;   12327   interface_options interface_opts ;
12322   guint i ;   12328   guint i ;
12323   gboolean tmp ;   12329   gboolean tmp ;
12324   initfilter_status_t tmp___0 ;   12330   initfilter_status_t tmp___0 ;
12325   char *tmp___1 ;   12331   char *tmp___1 ;
12326   char *tmp___2 ;   12332   char *tmp___2 ;
12327   gboolean tmp___3 ;   12333   gboolean tmp___3 ;
12328   gboolean tmp___4 ;   12334   gboolean tmp___4 ;
12329   gboolean tmp___5 ;   12335   gboolean tmp___5 ;
12330   gboolean tmp___6 ;   12336   gboolean tmp___6 ;
12331   gboolean tmp___7 ;   12337   gboolean tmp___7 ;
12332   gboolean tmp___8 ;   12338   gboolean tmp___8 ;
12333   gboolean tmp___9 ;   12339   gboolean tmp___9 ;
12334   char *cap_err_str ;   12340   char *cap_err_str ;
12335   size_t __s1_len ;   12341   size_t __s1_len ;
12336   size_t __s2_len ;   12342   size_t __s2_len ;
12337   int tmp___10 ;   12343   int tmp___10 ;
12338   int tmp___11 ;   12344   int tmp___11 ;
12339   int tmp___12 ;   12345   int tmp___12 ;
12340   unsigned char const   *__s2 ;   12346   unsigned char const   *__s2 ;
12341   register int __result ;   12347   register int __result ;
12342   int tmp___13 ;   12348   int tmp___13 ;
12343   unsigned char const   *__s1 ;   12349   unsigned char const   *__s1 ;
12344   register int __result___0 ;   12350   register int __result___0 ;
12345   int tmp___14 ;   12351   int tmp___14 ;
12346   int tmp___15 ;   12352   int tmp___15 ;
12347   int tmp___16 ;   12353   int tmp___16 ;
12348   size_t __s1_len___0 ;   12354   size_t __s1_len___0 ;
12349   size_t __s2_len___0 ;   12355   size_t __s2_len___0 ;
12350   int tmp___17 ;   12356   int tmp___17 ;
12351   int tmp___18 ;   12357   int tmp___18 ;
12352   int tmp___19 ;   12358   int tmp___19 ;
12353   unsigned char const   *__s2___0 ;   12359   unsigned char const   *__s2___0 ;
12354   register int __result___1 ;   12360   register int __result___1 ;
12355   int tmp___20 ;   12361   int tmp___20 ;
12356   unsigned char const   *__s1___0 ;   12362   unsigned char const   *__s1___0 ;
12357   register int __result___2 ;   12363   register int __result___2 ;
12358   int tmp___21 ;   12364   int tmp___21 ;
12359   int tmp___22 ;   12365   int tmp___22 ;
12360   int tmp___23 ;   12366   int tmp___23 ;
12361   size_t __s1_len___1 ;   12367   size_t __s1_len___1 ;
12362   size_t __s2_len___1 ;   12368   size_t __s2_len___1 ;
12363   int tmp___24 ;   12369   int tmp___24 ;
12364   int tmp___25 ;   12370   int tmp___25 ;
12365   int tmp___26 ;   12371   int tmp___26 ;
12366   unsigned char const   *__s2___1 ;   12372   unsigned char const   *__s2___1 ;
12367   register int __result___3 ;   12373   register int __result___3 ;
12368   int tmp___27 ;   12374   int tmp___27 ;
12369   unsigned char const   *__s1___1 ;   12375   unsigned char const   *__s1___1 ;
12370   register int __result___4 ;   12376   register int __result___4 ;
12371   int tmp___28 ;   12377   int tmp___28 ;
12372   int tmp___29 ;   12378   int tmp___29 ;
12373   int tmp___30 ;   12379   int tmp___30 ;
12374   size_t __s1_len___2 ;   12380   size_t __s1_len___2 ;
12375   size_t __s2_len___2 ;   12381   size_t __s2_len___2 ;
12376   int tmp___31 ;   12382   int tmp___31 ;
12377   int tmp___32 ;   12383   int tmp___32 ;
12378   int tmp___33 ;   12384   int tmp___33 ;
12379   unsigned char const   *__s2___2 ;   12385   unsigned char const   *__s2___2 ;
12380   register int __result___5 ;   12386   register int __result___5 ;
12381   int tmp___34 ;   12387   int tmp___34 ;
12382   unsigned char const   *__s1___2 ;   12388   unsigned char const   *__s1___2 ;
12383   register int __result___6 ;   12389   register int __result___6 ;
12384   int tmp___35 ;   12390   int tmp___35 ;
12385   int tmp___36 ;   12391   int tmp___36 ;
12386   int tmp___37 ;   12392   int tmp___37 ;
12387   size_t __s1_len___3 ;   12393   size_t __s1_len___3 ;
12388   size_t __s2_len___3 ;   12394   size_t __s2_len___3 ;
12389   int tmp___38 ;   12395   int tmp___38 ;
12390   int tmp___39 ;   12396   int tmp___39 ;
12391   int tmp___40 ;   12397   int tmp___40 ;
12392   unsigned char const   *__s2___3 ;   12398   unsigned char const   *__s2___3 ;
12393   register int __result___7 ;   12399   register int __result___7 ;
12394   int tmp___41 ;   12400   int tmp___41 ;
12395   unsigned char const   *__s1___3 ;   12401   unsigned char const   *__s1___3 ;
12396   register int __result___8 ;   12402   register int __result___8 ;
12397   int tmp___42 ;   12403   int tmp___42 ;
12398   int tmp___43 ;   12404   int tmp___43 ;
12399   int tmp___44 ;   12405   int tmp___44 ;
12400   int _g_boolean_var_ ;   12406   int _g_boolean_var_ ;
12401   long tmp___45 ;   12407   long tmp___45 ;
12402   char *tmp___46 ;   12408   char *tmp___46 ;
12403   int tmp___47 ;   12409   int tmp___47 ;
12404   int tmp___48 ;   12410   int tmp___48 ;
12405     12411  
12406   {   12412   {
12407   cnd_file_duration = (condition *)((void *)0);   12413   cnd_file_duration = (condition *)((void *)0);
12408   cnd_autostop_files = (condition *)((void *)0);   12414   cnd_autostop_files = (condition *)((void *)0);
12409   cnd_autostop_size = (condition *)((void *)0);   12415   cnd_autostop_size = (condition *)((void *)0);
12410   cnd_autostop_duration = (condition *)((void *)0);   12416   cnd_autostop_duration = (condition *)((void *)0);
12411   cfilter_error = 0;   12417   cfilter_error = 0;
12412   interface_opts = capture_opts->default_options;   12418   interface_opts = capture_opts->default_options;
12413   errmsg[0] = (char )'\000';   12419   errmsg[0] = (char )'\000';
12414   secondary_errmsg[0] = (char )'\000';   12420   secondary_errmsg[0] = (char )'\000';
12415   global_ld.go = 1;   12421   global_ld.go = 1;
12416   global_ld.packet_count = 0;   12422   global_ld.packet_count = 0;
12417   global_ld.pcaps = g_array_new(0, 0, sizeof(pcap_options ));   12423   global_ld.pcaps = g_array_new(0, 0, sizeof(pcap_options ));
12418   if (capture_opts->has_autostop_packets) {   12424   if (capture_opts->has_autostop_packets) {
12419     global_ld.packet_max = capture_opts->autostop_packets;   12425     global_ld.packet_max = capture_opts->autostop_packets;
12420   } else {   12426   } else {
12421     global_ld.packet_max = 0;   12427     global_ld.packet_max = 0;
12422   }   12428   }
12423   global_ld.inpkts_to_sync_pipe = 0;   12429   global_ld.inpkts_to_sync_pipe = 0;
12424   global_ld.err = 0;   12430   global_ld.err = 0;
12425   global_ld.pdh = (FILE *)((void *)0);   12431   global_ld.pdh = (FILE *)((void *)0);
12426   global_ld.autostop_files = (guint32 )0;   12432   global_ld.autostop_files = (guint32 )0;
12427   global_ld.save_file_fd = -1;   12433   global_ld.save_file_fd = -1;
12428   *stats_known = 0;   12434   *stats_known = 0;
12429   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop starting ...");   12435   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop starting ...");
12430   capture_opts_log("CaptureChild", (GLogLevelFlags )128, capture_opts);   12436   capture_opts_log("CaptureChild", (GLogLevelFlags )128, capture_opts);
12431   tmp = capture_loop_open_input(capture_opts, & global_ld, errmsg,   12437   tmp = capture_loop_open_input(capture_opts, & global_ld, errmsg,
12432                                 sizeof(errmsg), secondary_errmsg,   12438                                 sizeof(errmsg), secondary_errmsg,
12433                                 sizeof(secondary_errmsg));   12439                                 sizeof(secondary_errmsg));
12434   if (tmp) {   12440   if (tmp) {
12435     12441  
12436   } else {   12442   } else {
12437     goto error;   12443     goto error;
12438   }   12444   }
12439   i = (guint )0;   12445   i = (guint )0;
12440   while (i < (capture_opts->ifaces)->len) {   12446   while (i < (capture_opts->ifaces)->len) {
12441     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12447     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12442     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   12448     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
12443     tmp___0 = capture_loop_init_filter(pcap_opts.pcap_h,   12449     tmp___0 = capture_loop_init_filter(pcap_opts.pcap_h,
12444                                        pcap_opts.from_cap_pipe,   12450                                        pcap_opts.from_cap_pipe,
12445                                        interface_opts.name,   12451                                        interface_opts.name,
12446                                        interface_opts.cfilter);   12452                                        interface_opts.cfilter);
12447     switch ((unsigned int )tmp___0) {   12453     switch ((unsigned int )tmp___0) {
12448     case 0U:   12454     case 0U:
12449     break;   12455     break;
12450     case 1U:   12456     case 1U:
12451     cfilter_error = 1;   12457     cfilter_error = 1;
12452     tmp___1 = pcap_geterr(pcap_opts.pcap_h);   12458     tmp___1 = pcap_geterr(pcap_opts.pcap_h);
12453     g_snprintf(errmsg, (gulong )sizeof(errmsg), "%s", tmp___1);   12459     g_snprintf(errmsg, (gulong )sizeof(errmsg), "%s", tmp___1);
12454     goto error;   12460     goto error;
12455     case 2U:   12461     case 2U:
12456     tmp___2 = pcap_geterr(pcap_opts.pcap_h);   12462     tmp___2 = pcap_geterr(pcap_opts.pcap_h);
12457     g_snprintf(errmsg, (gulong )sizeof(errmsg), "Can\'t install filter (%s).",   12463     g_snprintf(errmsg, (gulong )sizeof(errmsg), "Can\'t install filter (%s).",
12458                tmp___2);   12464                tmp___2);
12459     g_snprintf(secondary_errmsg, (gulong )sizeof(secondary_errmsg), "%s",   12465     g_snprintf(secondary_errmsg, (gulong )sizeof(secondary_errmsg), "%s",
12460                please_report);   12466                please_report);
12461     goto error;   12467     goto error;
12462     }   12468     }
12463     i ++;   12469     i ++;
12464   }   12470   }
12465   if (capture_opts->saving_to_file) {   12471   if (capture_opts->saving_to_file) {
12466     tmp___3 = capture_loop_open_output(capture_opts, & global_ld.save_file_fd,   12472     tmp___3 = capture_loop_open_output(capture_opts, & global_ld.save_file_fd,
12467                                        errmsg, (int )sizeof(errmsg));   12473                                        errmsg, (int )sizeof(errmsg));
12468     if (tmp___3) {   12474     if (tmp___3) {
12469     12475  
12470     } else {   12476     } else {
12471       goto error;   12477       goto error;
12472     }   12478     }
12473     tmp___4 = capture_loop_init_output(capture_opts, & global_ld, errmsg,   12479     tmp___4 = capture_loop_init_output(capture_opts, & global_ld, errmsg,
12474                                        (int )sizeof(errmsg));   12480                                        (int )sizeof(errmsg));
12475     if (tmp___4) {   12481     if (tmp___4) {
12476     12482  
12477     } else {   12483     } else {
12478       goto error;   12484       goto error;
12479     }   12485     }
12480     libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12486     libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12481     report_new_capture_file((char const   *)capture_opts->save_file);   12487     report_new_capture_file((char const   *)capture_opts->save_file);
12482   } else {   12488   } else {
12483     12489  
12484   }   12490   }
12485   init_capture_stop_conditions();   12491   init_capture_stop_conditions();
12486   if (capture_opts->has_autostop_filesize) {   12492   if (capture_opts->has_autostop_filesize) {
12487     cnd_autostop_size = cnd_new(CND_CLASS_CAPTURESIZE,   12493     cnd_autostop_size = cnd_new(CND_CLASS_CAPTURESIZE,
12488                                 (long )capture_opts->autostop_filesize * 1024L);   12494                                 (long )capture_opts->autostop_filesize * 1024L);
12489   } else {   12495   } else {
12490     12496  
12491   }   12497   }
12492   if (capture_opts->has_autostop_duration) {   12498   if (capture_opts->has_autostop_duration) {
12493     cnd_autostop_duration = cnd_new(CND_CLASS_TIMEOUT,   12499     cnd_autostop_duration = cnd_new(CND_CLASS_TIMEOUT,
12494                                     capture_opts->autostop_duration);   12500                                     capture_opts->autostop_duration);
12495   } else {   12501   } else {
12496     12502  
12497   }   12503   }
12498   if (capture_opts->multi_files_on) {   12504   if (capture_opts->multi_files_on) {
12499     if (capture_opts->has_file_duration) {   12505     if (capture_opts->has_file_duration) {
12500       cnd_file_duration = cnd_new(CND_CLASS_TIMEOUT, capture_opts->file_duration);   12506       cnd_file_duration = cnd_new(CND_CLASS_TIMEOUT, capture_opts->file_duration);
12501     } else {   12507     } else {
12502     12508  
12503     }   12509     }
12504     if (capture_opts->has_autostop_files) {   12510     if (capture_opts->has_autostop_files) {
12505       cnd_autostop_files = cnd_new(CND_CLASS_CAPTURESIZE,   12511       cnd_autostop_files = cnd_new(CND_CLASS_CAPTURESIZE,
12506                                    capture_opts->autostop_files);   12512                                    capture_opts->autostop_files);
12507     } else {   12513     } else {
12508     12514  
12509     }   12515     }
12510   } else {   12516   } else {
12511     12517  
12512   }   12518   }
12513   gettimeofday((struct timeval */* __restrict  */)(& upd_time),   12519   gettimeofday((struct timeval */* __restrict  */)(& upd_time),
12514                (__timezone_ptr_t )((void *)0));   12520                (__timezone_ptr_t )((void *)0));
12515   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop running!");   12521   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop running!");
12516   while (global_ld.go) {   12522   while (global_ld.go) {
12517     inpkts = capture_loop_dispatch(capture_opts, & global_ld, errmsg,   12523     inpkts = capture_loop_dispatch(capture_opts, & global_ld, errmsg,
12518                                    (int )sizeof(errmsg), & pcap_opts);   12524                                    (int )sizeof(errmsg), & pcap_opts);
12519     if (inpkts > 0) {   12525     if (inpkts > 0) {
12520       global_ld.inpkts_to_sync_pipe += inpkts;   12526       global_ld.inpkts_to_sync_pipe += inpkts;
12521       if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {   12527       if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {
12522         tmp___6 = cnd_eval(cnd_autostop_size, (guint32 )global_ld.bytes_written);   12528         tmp___6 = cnd_eval(cnd_autostop_size, (guint32 )global_ld.bytes_written);
12523         if (tmp___6) {   12529         if (tmp___6) {
12524           tmp___5 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,   12530           tmp___5 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,
12525                                            cnd_autostop_size, cnd_file_duration);   12531                                            cnd_autostop_size, cnd_file_duration);
12526           if (tmp___5) {   12532           if (tmp___5) {
12527     12533  
12528           } else {   12534           } else {
12529             continue;   12535             continue;
12530           }   12536           }
12531         } else {   12537         } else {
12532     12538  
12533         }   12539         }
12534       } else {   12540       } else {
12535     12541  
12536       }   12542       }
12537       if (capture_opts->output_to_pipe) {   12543       if (capture_opts->output_to_pipe) {
12538         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12544         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12539       } else {   12545       } else {
12540     12546  
12541       }   12547       }
12542     } else {   12548     } else {
12543     12549  
12544     }   12550     }
12545     gettimeofday((struct timeval */* __restrict  */)(& cur_time),   12551     gettimeofday((struct timeval */* __restrict  */)(& cur_time),
12546                  (__timezone_ptr_t )((void *)0));   12552                  (__timezone_ptr_t )((void *)0));
12547     if (cur_time.tv_sec * 1000000L + cur_time.tv_usec > (upd_time.tv_sec * 1000000L + upd_time.tv_usec) + 500000L) {   12553     if (cur_time.tv_sec * 1000000L + cur_time.tv_usec > (upd_time.tv_sec * 1000000L + upd_time.tv_usec) + 500000L) {
12548       upd_time = cur_time;   12554       upd_time = cur_time;
12549       if (global_ld.inpkts_to_sync_pipe) {   12555       if (global_ld.inpkts_to_sync_pipe) {
12550         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12556         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12551         if (! quiet) {   12557         if (! quiet) {
12552           report_packet_count(global_ld.inpkts_to_sync_pipe);   12558           report_packet_count(global_ld.inpkts_to_sync_pipe);
12553         } else {   12559         } else {
12554     12560  
12555         }   12561         }
12556         global_ld.inpkts_to_sync_pipe = 0;   12562         global_ld.inpkts_to_sync_pipe = 0;
12557       } else {   12563       } else {
12558     12564  
12559       }   12565       }
12560       if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {   12566       if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {
12561         tmp___7 = cnd_eval(cnd_autostop_duration);   12567         tmp___7 = cnd_eval(cnd_autostop_duration);
12562         if (tmp___7) {   12568         if (tmp___7) {
12563           global_ld.go = 0;   12569           global_ld.go = 0;
12564           continue;   12570           continue;
12565         } else {   12571         } else {
12566     12572  
12567         }   12573         }
12568       } else {   12574       } else {
12569     12575  
12570       }   12576       }
12571       if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {   12577       if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {
12572         tmp___9 = cnd_eval(cnd_file_duration);   12578         tmp___9 = cnd_eval(cnd_file_duration);
12573         if (tmp___9) {   12579         if (tmp___9) {
12574           tmp___8 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,   12580           tmp___8 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,
12575                                            cnd_autostop_size, cnd_file_duration);   12581                                            cnd_autostop_size, cnd_file_duration);
12576           if (tmp___8) {   12582           if (tmp___8) {
12577     12583  
12578           } else {   12584           } else {
12579             continue;   12585             continue;
12580           }   12586           }
12581         } else {   12587         } else {
12582     12588  
12583         }   12589         }
12584       } else {   12590       } else {
12585     12591  
12586       }   12592       }
12587     } else {   12593     } else {
12588     12594  
12589     }   12595     }
12590   }   12596   }
12591   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopping ...");   12597   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopping ...");
12592   if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {   12598   if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {
12593     cnd_delete(cnd_file_duration);   12599     cnd_delete(cnd_file_duration);
12594   } else {   12600   } else {
12595     12601  
12596   }   12602   }
12597   if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {   12603   if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {
12598     cnd_delete(cnd_autostop_files);   12604     cnd_delete(cnd_autostop_files);
12599   } else {   12605   } else {
12600     12606  
12601   }   12607   }
12602   if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {   12608   if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {
12603     cnd_delete(cnd_autostop_size);   12609     cnd_delete(cnd_autostop_size);
12604   } else {   12610   } else {
12605     12611  
12606   }   12612   }
12607   if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {   12613   if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {
12608     cnd_delete(cnd_autostop_duration);   12614     cnd_delete(cnd_autostop_duration);
12609   } else {   12615   } else {
12610     12616  
12611   }   12617   }
12612   i = (guint )0;   12618   i = (guint )0;
12613   while (i < (capture_opts->ifaces)->len) {   12619   while (i < (capture_opts->ifaces)->len) {
12614     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12620     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12615     if (pcap_opts.pcap_err) {   12621     if (pcap_opts.pcap_err) {
12616       cap_err_str = pcap_geterr(pcap_opts.pcap_h);   12622       cap_err_str = pcap_geterr(pcap_opts.pcap_h);
12617       if (0) {   12623       if (0) {
12618         __s1_len = strlen((char const   *)cap_err_str);   12624         __s1_len = strlen((char const   *)cap_err_str);
12619         __s2_len = strlen("recvfrom: Network is down");   12625         __s2_len = strlen("recvfrom: Network is down");
12620         if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12626         if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12621           goto _L___0;   12627           goto _L___0;
12622         } else   12628         } else
12623         if (__s1_len >= 4U) {   12629         if (__s1_len >= 4U) {
12624           _L___0: /* CIL Label */   12630           _L___0: /* CIL Label */
12625           if (! ((size_t )((void const   *)("recvfrom: Network is down" + 1)) - (size_t )((void const   *)"recvfrom: Network is down") == 1U)) {   12631           if (! ((size_t )((void const   *)("recvfrom: Network is down" + 1)) - (size_t )((void const   *)"recvfrom: Network is down") == 1U)) {
12626             tmp___16 = 1;   12632             tmp___16 = 1;
12627           } else   12633           } else
12628           if (__s2_len >= 4U) {   12634           if (__s2_len >= 4U) {
12629             tmp___16 = 1;   12635             tmp___16 = 1;
12630           } else {   12636           } else {
12631             tmp___16 = 0;   12637             tmp___16 = 0;
12632           }   12638           }
12633         } else {   12639         } else {
12634           tmp___16 = 0;   12640           tmp___16 = 0;
12635         }   12641         }
12636         if (tmp___16) {   12642         if (tmp___16) {
12637           tmp___11 = __builtin_strcmp((char const   *)cap_err_str,   12643           tmp___11 = __builtin_strcmp((char const   *)cap_err_str,
12638                                       "recvfrom: Network is down");   12644                                       "recvfrom: Network is down");
12639           tmp___15 = tmp___11;   12645           tmp___15 = tmp___11;
12640         } else {   12646         } else {
12641           tmp___14 = __builtin_strcmp((char const   *)cap_err_str,   12647           tmp___14 = __builtin_strcmp((char const   *)cap_err_str,
12642                                       "recvfrom: Network is down");   12648                                       "recvfrom: Network is down");
12643           tmp___15 = tmp___14;   12649           tmp___15 = tmp___14;
12644         }   12650         }
12645       } else {   12651       } else {
12646         tmp___14 = __builtin_strcmp((char const   *)cap_err_str,   12652         tmp___14 = __builtin_strcmp((char const   *)cap_err_str,
12647                                     "recvfrom: Network is down");   12653                                     "recvfrom: Network is down");
12648         tmp___15 = tmp___14;   12654         tmp___15 = tmp___14;
12649       }   12655       }
12650       if (tmp___15 == 0) {   12656       if (tmp___15 == 0) {
12651         report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12657         report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12652                              "");   12658                              "");
12653       } else {   12659       } else {
12654         if (0) {   12660         if (0) {
12655           __s1_len___0 = strlen((char const   *)cap_err_str);   12661           __s1_len___0 = strlen((char const   *)cap_err_str);
12656           __s2_len___0 = strlen("The interface went down");   12662           __s2_len___0 = strlen("The interface went down");
12657           if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12663           if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12658             goto _L___2;   12664             goto _L___2;
12659           } else   12665           } else
12660           if (__s1_len___0 >= 4U) {   12666           if (__s1_len___0 >= 4U) {
12661             _L___2: /* CIL Label */   12667             _L___2: /* CIL Label */
12662             if (! ((size_t )((void const   *)("The interface went down" + 1)) - (size_t )((void const   *)"The interface went down") == 1U)) {   12668             if (! ((size_t )((void const   *)("The interface went down" + 1)) - (size_t )((void const   *)"The interface went down") == 1U)) {
12663               tmp___23 = 1;   12669               tmp___23 = 1;
12664             } else   12670             } else
12665             if (__s2_len___0 >= 4U) {   12671             if (__s2_len___0 >= 4U) {
12666               tmp___23 = 1;   12672               tmp___23 = 1;
12667             } else {   12673             } else {
12668               tmp___23 = 0;   12674               tmp___23 = 0;
12669             }   12675             }
12670           } else {   12676           } else {
12671             tmp___23 = 0;   12677             tmp___23 = 0;
12672           }   12678           }
12673           if (tmp___23) {   12679           if (tmp___23) {
12674             tmp___18 = __builtin_strcmp((char const   *)cap_err_str,   12680             tmp___18 = __builtin_strcmp((char const   *)cap_err_str,
12675                                         "The interface went down");   12681                                         "The interface went down");
12676             tmp___22 = tmp___18;   12682             tmp___22 = tmp___18;
12677           } else {   12683           } else {
12678             tmp___21 = __builtin_strcmp((char const   *)cap_err_str,   12684             tmp___21 = __builtin_strcmp((char const   *)cap_err_str,
12679                                         "The interface went down");   12685                                         "The interface went down");
12680             tmp___22 = tmp___21;   12686             tmp___22 = tmp___21;
12681           }   12687           }
12682         } else {   12688         } else {
12683           tmp___21 = __builtin_strcmp((char const   *)cap_err_str,   12689           tmp___21 = __builtin_strcmp((char const   *)cap_err_str,
12684                                       "The interface went down");   12690                                       "The interface went down");
12685           tmp___22 = tmp___21;   12691           tmp___22 = tmp___21;
12686         }   12692         }
12687         if (tmp___22 == 0) {   12693         if (tmp___22 == 0) {
12688           report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12694           report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12689                                "");   12695                                "");
12690         } else {   12696         } else {
12691           if (0) {   12697           if (0) {
12692             __s1_len___1 = strlen((char const   *)cap_err_str);   12698             __s1_len___1 = strlen((char const   *)cap_err_str);
12693             __s2_len___1 = strlen("read: Device not configured");   12699             __s2_len___1 = strlen("read: Device not configured");
12694             if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12700             if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12695               goto _L___4;   12701               goto _L___4;
12696             } else   12702             } else
12697             if (__s1_len___1 >= 4U) {   12703             if (__s1_len___1 >= 4U) {
12698               _L___4: /* CIL Label */   12704               _L___4: /* CIL Label */
12699               if (! ((size_t )((void const   *)("read: Device not configured" + 1)) - (size_t )((void const   *)"read: Device not configured") == 1U)) {   12705               if (! ((size_t )((void const   *)("read: Device not configured" + 1)) - (size_t )((void const   *)"read: Device not configured") == 1U)) {
12700                 tmp___30 = 1;   12706                 tmp___30 = 1;
12701               } else   12707               } else
12702               if (__s2_len___1 >= 4U) {   12708               if (__s2_len___1 >= 4U) {
12703                 tmp___30 = 1;   12709                 tmp___30 = 1;
12704               } else {   12710               } else {
12705                 tmp___30 = 0;   12711                 tmp___30 = 0;
12706               }   12712               }
12707             } else {   12713             } else {
12708               tmp___30 = 0;   12714               tmp___30 = 0;
12709             }   12715             }
12710             if (tmp___30) {   12716             if (tmp___30) {
12711               tmp___25 = __builtin_strcmp((char const   *)cap_err_str,   12717               tmp___25 = __builtin_strcmp((char const   *)cap_err_str,
12712                                           "read: Device not configured");   12718                                           "read: Device not configured");
12713               tmp___29 = tmp___25;   12719               tmp___29 = tmp___25;
12714             } else {   12720             } else {
12715               tmp___28 = __builtin_strcmp((char const   *)cap_err_str,   12721               tmp___28 = __builtin_strcmp((char const   *)cap_err_str,
12716                                           "read: Device not configured");   12722                                           "read: Device not configured");
12717               tmp___29 = tmp___28;   12723               tmp___29 = tmp___28;
12718             }   12724             }
12719           } else {   12725           } else {
12720             tmp___28 = __builtin_strcmp((char const   *)cap_err_str,   12726             tmp___28 = __builtin_strcmp((char const   *)cap_err_str,
12721                                         "read: Device not configured");   12727                                         "read: Device not configured");
12722             tmp___29 = tmp___28;   12728             tmp___29 = tmp___28;
12723           }   12729           }
12724           if (tmp___29 == 0) {   12730           if (tmp___29 == 0) {
12725             report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12731             report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12726                                  "");   12732                                  "");
12727           } else {   12733           } else {
12728             if (0) {   12734             if (0) {
12729               __s1_len___2 = strlen((char const   *)cap_err_str);   12735               __s1_len___2 = strlen((char const   *)cap_err_str);
12730               __s2_len___2 = strlen("read: I/O error");   12736               __s2_len___2 = strlen("read: I/O error");
12731               if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12737               if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12732                 goto _L___6;   12738                 goto _L___6;
12733               } else   12739               } else
12734               if (__s1_len___2 >= 4U) {   12740               if (__s1_len___2 >= 4U) {
12735                 _L___6: /* CIL Label */   12741                 _L___6: /* CIL Label */
12736                 if (! ((size_t )((void const   *)("read: I/O error" + 1)) - (size_t )((void const   *)"read: I/O error") == 1U)) {   12742                 if (! ((size_t )((void const   *)("read: I/O error" + 1)) - (size_t )((void const   *)"read: I/O error") == 1U)) {
12737                   tmp___37 = 1;   12743                   tmp___37 = 1;
12738                 } else   12744                 } else
12739                 if (__s2_len___2 >= 4U) {   12745                 if (__s2_len___2 >= 4U) {
12740                   tmp___37 = 1;   12746                   tmp___37 = 1;
12741                 } else {   12747                 } else {
12742                   tmp___37 = 0;   12748                   tmp___37 = 0;
12743                 }   12749                 }
12744               } else {   12750               } else {
12745                 tmp___37 = 0;   12751                 tmp___37 = 0;
12746               }   12752               }
12747               if (tmp___37) {   12753               if (tmp___37) {
12748                 tmp___32 = __builtin_strcmp((char const   *)cap_err_str,   12754                 tmp___32 = __builtin_strcmp((char const   *)cap_err_str,
12749                                             "read: I/O error");   12755                                             "read: I/O error");
12750                 tmp___36 = tmp___32;   12756                 tmp___36 = tmp___32;
12751               } else {   12757               } else {
12752                 tmp___35 = __builtin_strcmp((char const   *)cap_err_str,   12758                 tmp___35 = __builtin_strcmp((char const   *)cap_err_str,
12753                                             "read: I/O error");   12759                                             "read: I/O error");
12754                 tmp___36 = tmp___35;   12760                 tmp___36 = tmp___35;
12755               }   12761               }
12756             } else {   12762             } else {
12757               tmp___35 = __builtin_strcmp((char const   *)cap_err_str,   12763               tmp___35 = __builtin_strcmp((char const   *)cap_err_str,
12758                                           "read: I/O error");   12764                                           "read: I/O error");
12759               tmp___36 = tmp___35;   12765               tmp___36 = tmp___35;
12760             }   12766             }
12761             if (tmp___36 == 0) {   12767             if (tmp___36 == 0) {
12762               report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12768               report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12763                                    "");   12769                                    "");
12764             } else {   12770             } else {
12765               if (0) {   12771               if (0) {
12766                 __s1_len___3 = strlen((char const   *)cap_err_str);   12772                 __s1_len___3 = strlen((char const   *)cap_err_str);
12767                 __s2_len___3 = strlen("read error: PacketReceivePacket failed");   12773                 __s2_len___3 = strlen("read error: PacketReceivePacket failed");
12768                 if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12774                 if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12769                   goto _L___8;   12775                   goto _L___8;
12770                 } else   12776                 } else
12771                 if (__s1_len___3 >= 4U) {   12777                 if (__s1_len___3 >= 4U) {
12772                   _L___8: /* CIL Label */   12778                   _L___8: /* CIL Label */
12773                   if (! ((size_t )((void const   *)("read error: PacketReceivePacket failed" + 1)) - (size_t )((void const   *)"read error: PacketReceivePacket failed") == 1U)) {   12779                   if (! ((size_t )((void const   *)("read error: PacketReceivePacket failed" + 1)) - (size_t )((void const   *)"read error: PacketReceivePacket failed") == 1U)) {
12774                     tmp___44 = 1;   12780                     tmp___44 = 1;
12775                   } else   12781                   } else
12776                   if (__s2_len___3 >= 4U) {   12782                   if (__s2_len___3 >= 4U) {
12777                     tmp___44 = 1;   12783                     tmp___44 = 1;
12778                   } else {   12784                   } else {
12779                     tmp___44 = 0;   12785                     tmp___44 = 0;
12780                   }   12786                   }
12781                 } else {   12787                 } else {
12782                   tmp___44 = 0;   12788                   tmp___44 = 0;
12783                 }   12789                 }
12784                 if (tmp___44) {   12790                 if (tmp___44) {
12785                   tmp___39 = __builtin_strcmp((char const   *)cap_err_str,   12791                   tmp___39 = __builtin_strcmp((char const   *)cap_err_str,
12786                                               "read error: PacketReceivePacket failed");   12792                                               "read error: PacketReceivePacket failed");
12787                   tmp___43 = tmp___39;   12793                   tmp___43 = tmp___39;
12788                 } else {   12794                 } else {
12789                   tmp___42 = __builtin_strcmp((char const   *)cap_err_str,   12795                   tmp___42 = __builtin_strcmp((char const   *)cap_err_str,
12790                                               "read error: PacketReceivePacket failed");   12796                                               "read error: PacketReceivePacket failed");
12791                   tmp___43 = tmp___42;   12797                   tmp___43 = tmp___42;
12792                 }   12798                 }
12793               } else {   12799               } else {
12794                 tmp___42 = __builtin_strcmp((char const   *)cap_err_str,   12800                 tmp___42 = __builtin_strcmp((char const   *)cap_err_str,
12795                                             "read error: PacketReceivePacket failed");   12801                                             "read error: PacketReceivePacket failed");
12796                 tmp___43 = tmp___42;   12802                 tmp___43 = tmp___42;
12797               }   12803               }
12798               if (tmp___43 == 0) {   12804               if (tmp___43 == 0) {
12799                 report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12805                 report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12800                                      "");   12806                                      "");
12801               } else {   12807               } else {
12802                 g_snprintf(errmsg, (gulong )sizeof(errmsg),   12808                 g_snprintf(errmsg, (gulong )sizeof(errmsg),
12803                            "Error while capturing packets: %s", cap_err_str);   12809                            "Error while capturing packets: %s", cap_err_str);
12804                 report_capture_error((char const   *)(errmsg), please_report);   12810                 report_capture_error((char const   *)(errmsg), please_report);
12805               }   12811               }
12806             }   12812             }
12807           }   12813           }
12808         }   12814         }
12809       }   12815       }
12810       break;   12816       break;
12811     } else   12817     } else
12812     if (pcap_opts.from_cap_pipe) {   12818     if (pcap_opts.from_cap_pipe) {
12813       if ((unsigned int )pcap_opts.cap_pipe_err == 2U) {   12819       if ((unsigned int )pcap_opts.cap_pipe_err == 2U) {
12814         report_capture_error((char const   *)(errmsg), "");   12820         report_capture_error((char const   *)(errmsg), "");
12815         break;   12821         break;
12816       } else {   12822       } else {
12817     12823  
12818       }   12824       }
12819     } else {   12825     } else {
12820     12826  
12821     }   12827     }
12822     i ++;   12828     i ++;
12823   }   12829   }
12824   if (global_ld.err == 0) {   12830   if (global_ld.err == 0) {
12825     write_ok = 1;   12831     write_ok = 1;
12826   } else {   12832   } else {
12827     capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),   12833     capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),
12828                             (char const   *)capture_opts->save_file,   12834                             (char const   *)capture_opts->save_file,
12829                             global_ld.err, 0);   12835                             global_ld.err, 0);
12830     report_capture_error((char const   *)(errmsg), please_report);   12836     report_capture_error((char const   *)(errmsg), please_report);
12831     write_ok = 0;   12837     write_ok = 0;
12832   }   12838   }
12833   if (capture_opts->saving_to_file) {   12839   if (capture_opts->saving_to_file) {
12834     close_ok = capture_loop_close_output(capture_opts, & global_ld, & err_close);   12840     close_ok = capture_loop_close_output(capture_opts, & global_ld, & err_close);
12835   } else {   12841   } else {
12836     close_ok = 1;   12842     close_ok = 1;
12837   }   12843   }
12838   if (global_ld.inpkts_to_sync_pipe) {   12844   if (global_ld.inpkts_to_sync_pipe) {
12839     if (! quiet) {   12845     if (! quiet) {
12840       report_packet_count(global_ld.inpkts_to_sync_pipe);   12846       report_packet_count(global_ld.inpkts_to_sync_pipe);
12841     } else {   12847     } else {
12842     12848  
12843     }   12849     }
12844     global_ld.inpkts_to_sync_pipe = 0;   12850     global_ld.inpkts_to_sync_pipe = 0;
12845   } else {   12851   } else {
12846     12852  
12847   }   12853   }
12848   if (! close_ok) {   12854   if (! close_ok) {
12849     if (write_ok) {   12855     if (write_ok) {
12850       capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),   12856       capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),
12851                               (char const   *)capture_opts->save_file,   12857                               (char const   *)capture_opts->save_file,
12852                               err_close, 1);   12858                               err_close, 1);
12853       report_capture_error((char const   *)(errmsg), "");   12859       report_capture_error((char const   *)(errmsg), "");
12854     } else {   12860     } else {
12855     12861  
12856     }   12862     }
12857   } else {   12863   } else {
12858     12864  
12859   }   12865   }
12860   report_capture_count();   12866   report_capture_count();
12861   i = (guint )0;   12867   i = (guint )0;
12862   while (i < (capture_opts->ifaces)->len) {   12868   while (i < (capture_opts->ifaces)->len) {
12863     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12869     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12864     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   12870     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
12865     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   12871     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
12866       while (1) {   12872       while (1) {
12867         if (! pcap_opts.from_cap_pipe) {   12873         if (! pcap_opts.from_cap_pipe) {
12868           _g_boolean_var_ = 1;   12874           _g_boolean_var_ = 1;
12869         } else {   12875         } else {
12870           _g_boolean_var_ = 0;   12876           _g_boolean_var_ = 0;
12871         }   12877         }
12872         tmp___45 = __builtin_expect((long )_g_boolean_var_, 1L);   12878         tmp___45 = __builtin_expect((long )_g_boolean_var_, 1L);
12873         if (tmp___45) {   12879         if (tmp___45) {
12874     12880  
12875         } else {   12881         } else {
12876           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",   12882           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",
12877                                    3262, "capture_loop_start",   12883                                    3262, "capture_loop_start",
12878                                    "!pcap_opts.from_cap_pipe");   12884                                    "!pcap_opts.from_cap_pipe");
12879         }   12885         }
12880         break;   12886         break;
12881       }   12887       }
12882       tmp___47 = pcap_stats(pcap_opts.pcap_h, stats);   12888       tmp___47 = pcap_stats(pcap_opts.pcap_h, stats);
12883       if (tmp___47 >= 0) {   12889       if (tmp___47 >= 0) {
12884         *stats_known = 1;   12890         *stats_known = 1;
12885         report_packet_drops(stats->ps_recv, stats->ps_drop, interface_opts.name);   12891         report_packet_drops(stats->ps_recv, stats->ps_drop, interface_opts.name);
12886       } else {   12892       } else {
12887         tmp___46 = pcap_geterr(pcap_opts.pcap_h);   12893         tmp___46 = pcap_geterr(pcap_opts.pcap_h);
12888         g_snprintf(errmsg, (gulong )sizeof(errmsg),   12894         g_snprintf(errmsg, (gulong )sizeof(errmsg),
12889                    "Can\'t get packet-drop statistics: %s", tmp___46);   12895                    "Can\'t get packet-drop statistics: %s", tmp___46);
12890         report_capture_error((char const   *)(errmsg), please_report);   12896         report_capture_error((char const   *)(errmsg), please_report);
12891       }   12897       }
12892     } else {   12898     } else {
12893     12899  
12894     }   12900     }
12895     i ++;   12901     i ++;
12896   }   12902   }
12897   capture_loop_close_input(& global_ld);   12903   capture_loop_close_input(& global_ld);
12898   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped!");   12904   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped!");
12899   if (write_ok) {   12905   if (write_ok) {
12900     if (close_ok) {   12906     if (close_ok) {
12901       tmp___48 = 1;   12907       tmp___48 = 1;
12902     } else {   12908     } else {
12903       tmp___48 = 0;   12909       tmp___48 = 0;
12904     }   12910     }
12905   } else {   12911   } else {
12906     tmp___48 = 0;   12912     tmp___48 = 0;
12907   }   12913   }
12908   return (tmp___48);   12914   return (tmp___48);
12909   error:   12915   error:
12910   if (capture_opts->multi_files_on) {   12916   if (capture_opts->multi_files_on) {
12911     ringbuf_error_cleanup();   12917     ringbuf_error_cleanup();
12912   } else {   12918   } else {
12913     if (global_ld.save_file_fd != -1) {   12919     if (global_ld.save_file_fd != -1) {
12914       close(global_ld.save_file_fd);   12920       close(global_ld.save_file_fd);
12915     } else {   12921     } else {
12916     12922  
12917     }   12923     }
12918     if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   12924     if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
12919       unlink((char const   *)capture_opts->save_file);   12925       unlink((char const   *)capture_opts->save_file);
12920       g_free((gpointer )capture_opts->save_file);   12926       g_free((gpointer )capture_opts->save_file);
12921     } else {   12927     } else {
12922     12928  
12923     }   12929     }
12924   }   12930   }
12925   capture_opts->save_file = (gchar *)((void *)0);   12931   capture_opts->save_file = (gchar *)((void *)0);
12926   if (cfilter_error) {   12932   if (cfilter_error) {
12927     report_cfilter_error((char const   *)interface_opts.cfilter,   12933     report_cfilter_error((char const   *)interface_opts.cfilter,
12928                          (char const   *)(errmsg));   12934                          (char const   *)(errmsg));
12929   } else {   12935   } else {
12930     report_capture_error((char const   *)(errmsg),   12936     report_capture_error((char const   *)(errmsg),
12931                          (char const   *)(secondary_errmsg));   12937                          (char const   *)(secondary_errmsg));
12932   }   12938   }
12933   capture_loop_close_input(& global_ld);   12939   capture_loop_close_input(& global_ld);
12934   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped with error");   12940   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped with error");
12935   return (0);   12941   return (0);
12936 }   12942 }
12937 }   12943 }
12938 static void capture_loop_stop(void)   12944 static void capture_loop_stop(void)
12939 {   12945 {
12940   guint i ;   12946   guint i ;
12941   pcap_options pcap_opts ;   12947   pcap_options pcap_opts ;
12942     12948  
12943   {   12949   {
12944   i = (guint )0;   12950   i = (guint )0;
12945   while (i < (global_ld.pcaps)->len) {   12951   while (i < (global_ld.pcaps)->len) {
12946     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12952     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12947     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   12953     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
12948       pcap_breakloop(pcap_opts.pcap_h);   12954       pcap_breakloop(pcap_opts.pcap_h);
12949     } else {   12955     } else {
12950     12956  
12951     }   12957     }
12952     i ++;   12958     i ++;
12953   }   12959   }
12954   global_ld.go = 0;   12960   global_ld.go = 0;
12955   return;   12961   return;
12956 }   12962 }
12957 }   12963 }
12958 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,   12964 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,
12959                                     char const   *fname , int err ,   12965                                     char const   *fname , int err ,
12960                                     gboolean is_close )   12966                                     gboolean is_close )
12961 {   12967 {
12962   char *tmp ;   12968   char *tmp ;
12963   char *tmp___0 ;   12969   char *tmp___0 ;
12964     12970  
12965   {   12971   {
12966   switch (err) {   12972   switch (err) {
12967   case 28:   12973   case 28:
12968   g_snprintf(errmsg, (gulong )errmsglen,   12974   g_snprintf(errmsg, (gulong )errmsglen,
12969              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because there is no space left on the file system\non which that file resides.",   12975              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because there is no space left on the file system\non which that file resides.",
12970              fname);   12976              fname);
12971   break;   12977   break;
12972   case 122:   12978   case 122:
12973   g_snprintf(errmsg, (gulong )errmsglen,   12979   g_snprintf(errmsg, (gulong )errmsglen,
12974              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because you are too close to, or over, your disk quota\non the file system on which that file resides.",   12980              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because you are too close to, or over, your disk quota\non the file system on which that file resides.",
12975              fname);   12981              fname);
12976   break;   12982   break;
12977   default:   12983   default:
12978   if (is_close) {   12984   if (is_close) {
12979     tmp = strerror(err);   12985     tmp = strerror(err);
12980     g_snprintf(errmsg, (gulong )errmsglen,   12986     g_snprintf(errmsg, (gulong )errmsglen,
12981                "The file to which the capture was being saved\n(\"%s\") could not be closed: %s.",   12987                "The file to which the capture was being saved\n(\"%s\") could not be closed: %s.",
12982                fname, tmp);   12988                fname, tmp);
12983   } else {   12989   } else {
12984     tmp___0 = strerror(err);   12990     tmp___0 = strerror(err);
12985     g_snprintf(errmsg, (gulong )errmsglen,   12991     g_snprintf(errmsg, (gulong )errmsglen,
12986                "An error occurred while writing to the file to which the capture was being saved\n(\"%s\"): %s.",   12992                "An error occurred while writing to the file to which the capture was being saved\n(\"%s\"): %s.",
12987                fname, tmp___0);   12993                fname, tmp___0);
12988   }   12994   }
12989   break;   12995   break;
12990   }   12996   }
12991   return;   12997   return;
12992 }   12998 }
12993 }   12999 }
12994 static void capture_loop_packet_cb(u_char *user ,   13000 static void capture_loop_packet_cb(u_char *user ,
12995                                    struct pcap_pkthdr  const  *phdr ,   13001                                    struct pcap_pkthdr  const  *phdr ,
12996                                    u_char const   *pd )   13002                                    u_char const   *pd )
12997 {   13003 {
12998   loop_data *ld ;   13004   loop_data *ld ;
12999   int err ;   13005   int err ;
13000   gboolean successful ;   13006   gboolean successful ;
13001     13007  
13002   {   13008   {
13003   ld = (loop_data *)((void *)user);   13009   ld = (loop_data *)((void *)user);
13004   if (! ld->go) {   13010   if (! ld->go) {
13005     return;   13011     return;
13006   } else {   13012   } else {
13007     13013  
13008   }   13014   }
13009   if (ld->pdh) {   13015   if (ld->pdh) {
13010     if (global_capture_opts.use_pcapng) {   13016     if (global_capture_opts.use_pcapng) {
13011       successful = libpcap_write_enhanced_packet_block(ld->pdh, phdr,   13017       successful = libpcap_write_enhanced_packet_block(ld->pdh, phdr,
13012                                                        (guint32 )0, pd,   13018                                                        (guint32 )0, pd,
13013                                                        & ld->bytes_written,   13019                                                        & ld->bytes_written,
13014                                                        & err);   13020                                                        & err);
13015     } else {   13021     } else {
13016       successful = libpcap_write_packet(ld->pdh, phdr, pd, & ld->bytes_written,   13022       successful = libpcap_write_packet(ld->pdh, phdr, pd, & ld->bytes_written,
13017                                         & err);   13023                                         & err);
13018     }   13024     }
13019     if (! successful) {   13025     if (! successful) {
13020       ld->go = 0;   13026       ld->go = 0;
13021       ld->err = err;   13027       ld->err = err;
13022     } else {   13028     } else {
13023       (ld->packet_count) ++;   13029       (ld->packet_count) ++;
13024       if (ld->packet_max > 0) {   13030       if (ld->packet_max > 0) {
13025         if (ld->packet_count >= ld->packet_max) {   13031         if (ld->packet_count >= ld->packet_max) {
13026           ld->go = 0;   13032           ld->go = 0;
13027         } else {   13033         } else {
13028     13034  
13029         }   13035         }
13030       } else {   13036       } else {
13031     13037  
13032       }   13038       }
13033     }   13039     }
13034   } else {   13040   } else {
13035     13041  
13036   }   13042   }
13037   return;   13043   return;
13038 }   13044 }
13039 }   13045 }
13040 int main(int argc , char **argv )   13046 int main(int argc , char **argv )
13041 {   13047 {
13042   int opt ;   13048   int opt ;
13043   gboolean arg_error ;   13049   gboolean arg_error ;
13044   struct sigaction action ;   13050   struct sigaction action ;
13045   struct sigaction oldaction ;   13051   struct sigaction oldaction ;
13046   gboolean start_capture ;   13052   gboolean start_capture ;
13047   gboolean stats_known ;   13053   gboolean stats_known ;
13048   struct pcap_stat stats ;   13054   struct pcap_stat stats ;
13049   GLogLevelFlags log_flags ;   13055   GLogLevelFlags log_flags ;
13050   gboolean list_interfaces ;   13056   gboolean list_interfaces ;
13051   gboolean list_link_layer_types ;   13057   gboolean list_link_layer_types ;
13052   gboolean print_bpf_code ;   13058   gboolean print_bpf_code ;
13053   gboolean machine_readable ;   13059   gboolean machine_readable ;
13054   gboolean print_statistics ;   13060   gboolean print_statistics ;
13055   int status ;   13061   int status ;
13056   int run_once_args ;   13062   int run_once_args ;
13057   gint i ;   13063   gint i ;
13058   guint j ;   13064   guint j ;
13059   size_t __s1_len ;   13065   size_t __s1_len ;
13060   size_t __s2_len ;   13066   size_t __s2_len ;
13061   int tmp ;   13067   int tmp ;
13062   int tmp___0 ;   13068   int tmp___0 ;
13063   int tmp___1 ;   13069   int tmp___1 ;
13064   unsigned char const   *__s2 ;   13070   unsigned char const   *__s2 ;
13065   register int __result ;   13071   register int __result ;
13066   int tmp___2 ;   13072   int tmp___2 ;
13067   unsigned char const   *__s1 ;   13073   unsigned char const   *__s1 ;
13068   register int __result___0 ;   13074   register int __result___0 ;
13069   int tmp___3 ;   13075   int tmp___3 ;
13070   int tmp___4 ;   13076   int tmp___4 ;
13071   int tmp___5 ;   13077   int tmp___5 ;
13072   GString *comp_info_str ;   13078   GString *comp_info_str ;
13073   GString *runtime_info_str ;   13079   GString *runtime_info_str ;
13074   GList *if_list ;   13080   GList *if_list ;
13075   int err ;   13081   int err ;
13076   gchar *err_str ;   13082   gchar *err_str ;
13077   gboolean tmp___6 ;   13083   gboolean tmp___6 ;
13078   interface_options interface_opts ;   13084   interface_options interface_opts ;
13079   if_capabilities_t *caps ;   13085   if_capabilities_t *caps ;
13080   gchar *err_str___0 ;   13086   gchar *err_str___0 ;
13081   guint i___0 ;   13087   guint i___0 ;
13082   interface_options interface_opts___0 ;   13088   interface_options interface_opts___0 ;
13083   gboolean tmp___7 ;   13089   gboolean tmp___7 ;
13084     13090  
13085   {   13091   {
13086   arg_error = 0;   13092   arg_error = 0;
13087   start_capture = 1;   13093   start_capture = 1;
13088   list_interfaces = 0;   13094   list_interfaces = 0;
13089   list_link_layer_types = 0;   13095   list_link_layer_types = 0;
13090   print_bpf_code = 0;   13096   print_bpf_code = 0;
13091   machine_readable = 0;   13097   machine_readable = 0;
13092   print_statistics = 0;   13098   print_statistics = 0;
13093   run_once_args = 0;   13099   run_once_args = 0;
13094   debug_log = fopen((char const   */* __restrict  */)"dumpcap_debug_log.tmp",   13100   debug_log = fopen((char const   */* __restrict  */)"dumpcap_debug_log.tmp",
13095                     (char const   */* __restrict  */)"w");   13101                     (char const   */* __restrict  */)"w");
13096   if ((unsigned int )debug_log == (unsigned int )((void *)0)) {   13102   if ((unsigned int )debug_log == (unsigned int )((void *)0)) {
13097     fprintf((FILE */* __restrict  */)stderr,   13103     fprintf((FILE */* __restrict  */)stderr,
13098             (char const   */* __restrict  */)"Unable to open debug log file !\n");   13104             (char const   */* __restrict  */)"Unable to open debug log file !\n");
13099     exit(1);   13105     exit(1);
13100   } else {   13106   } else {
13101     13107  
13102   }   13108   }
13103   i = 1;   13109   i = 1;
13104   while (i < argc) {   13110   while (i < argc) {
13105     if (0) {   13111     if (0) {
13106       __s1_len = strlen("-Z");   13112       __s1_len = strlen("-Z");
13107       __s2_len = strlen((char const   *)*(argv + i));   13113       __s2_len = strlen((char const   *)*(argv + i));
13108       if (! ((size_t )((void const   *)("-Z" + 1)) - (size_t )((void const   *)"-Z") == 1U)) {   13114       if (! ((size_t )((void const   *)("-Z" + 1)) - (size_t )((void const   *)"-Z") == 1U)) {
13109         goto _L___0;   13115         goto _L___0;
13110       } else   13116       } else
13111       if (__s1_len >= 4U) {   13117       if (__s1_len >= 4U) {
13112         _L___0: /* CIL Label */   13118         _L___0: /* CIL Label */
13113         if (! ((size_t )((void const   *)(*(argv + i) + 1)) - (size_t )((void const   *)*(argv + i)) == 1U)) {   13119         if (! ((size_t )((void const   *)(*(argv + i) + 1)) - (size_t )((void const   *)*(argv + i)) == 1U)) {
13114           tmp___5 = 1;   13120           tmp___5 = 1;
13115         } else   13121         } else
13116         if (__s2_len >= 4U) {   13122         if (__s2_len >= 4U) {
13117           tmp___5 = 1;   13123           tmp___5 = 1;
13118         } else {   13124         } else {
13119           tmp___5 = 0;   13125           tmp___5 = 0;
13120         }   13126         }
13121       } else {   13127       } else {
13122         tmp___5 = 0;   13128         tmp___5 = 0;
13123       }   13129       }
13124       if (tmp___5) {   13130       if (tmp___5) {
13125         tmp___0 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13131         tmp___0 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13126         tmp___4 = tmp___0;   13132         tmp___4 = tmp___0;
13127       } else {   13133       } else {
13128         tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13134         tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13129         tmp___4 = tmp___3;   13135         tmp___4 = tmp___3;
13130       }   13136       }
13131     } else {   13137     } else {
13132       tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13138       tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13133       tmp___4 = tmp___3;   13139       tmp___4 = tmp___3;
13134     }   13140     }
13135     if (tmp___4 == 0) {   13141     if (tmp___4 == 0) {
13136       capture_child = 1;   13142       capture_child = 1;
13137       machine_readable = 1;   13143       machine_readable = 1;
13138     } else {   13144     } else {
13139     13145  
13140     }   13146     }
13141     i ++;   13147     i ++;
13142   }   13148   }
13143   log_flags = (GLogLevelFlags )255;   13149   log_flags = (GLogLevelFlags )255;
13144   g_log_set_handler((gchar const   *)((void *)0), log_flags,   13150   g_log_set_handler((gchar const   *)((void *)0), log_flags,
13145                     & console_log_handler, (void *)0);   13151                     & console_log_handler, (void *)0);
13146   g_log_set_handler("Main", log_flags, & console_log_handler, (void *)0);   13152   g_log_set_handler("Main", log_flags, & console_log_handler, (void *)0);
13147   g_log_set_handler("Capture", log_flags, & console_log_handler, (void *)0);   13153   g_log_set_handler("Capture", log_flags, & console_log_handler, (void *)0);
13148   g_log_set_handler("CaptureChild", log_flags, & console_log_handler, (void *)0);   13154   g_log_set_handler("CaptureChild", log_flags, & console_log_handler, (void *)0);
13149   if (! g_threads_got_initialized) {   13155   if (! g_threads_got_initialized) {
13150     g_thread_init((GThreadFunctions *)((void *)0));   13156     g_thread_init((GThreadFunctions *)((void *)0));
13151   } else {   13157   } else {
13152     13158  
13153   }   13159   }
13154   action.__sigaction_handler.sa_handler = & capture_cleanup_handler;   13160   action.__sigaction_handler.sa_handler = & capture_cleanup_handler;
13155   action.sa_flags = 0;   13161   action.sa_flags = 0;
13156   sigemptyset(& action.sa_mask);   13162   sigemptyset(& action.sa_mask);
13157   sigaction(15, (struct sigaction  const  */* __restrict  */)(& action),   13163   sigaction(15, (struct sigaction  const  */* __restrict  */)(& action),
13158             (struct sigaction */* __restrict  */)((void *)0));   13164             (struct sigaction */* __restrict  */)((void *)0));
13159   sigaction(2, (struct sigaction  const  */* __restrict  */)(& action),   13165   sigaction(2, (struct sigaction  const  */* __restrict  */)(& action),
13160             (struct sigaction */* __restrict  */)((void *)0));   13166             (struct sigaction */* __restrict  */)((void *)0));
13161   sigaction(13, (struct sigaction  const  */* __restrict  */)(& action),   13167   sigaction(13, (struct sigaction  const  */* __restrict  */)(& action),
13162             (struct sigaction */* __restrict  */)((void *)0));   13168             (struct sigaction */* __restrict  */)((void *)0));
13163   sigaction(1, (struct sigaction  const  */* __restrict  */)((void *)0),   13169   sigaction(1, (struct sigaction  const  */* __restrict  */)((void *)0),
13164             (struct sigaction */* __restrict  */)(& oldaction));   13170             (struct sigaction */* __restrict  */)(& oldaction));
13165   if ((unsigned int )oldaction.__sigaction_handler.sa_handler == (unsigned int )((void (*)(int  ))0)) {   13171   if ((unsigned int )oldaction.__sigaction_handler.sa_handler == (unsigned int )((void (*)(int  ))0)) {
13166     sigaction(1, (struct sigaction  const  */* __restrict  */)(& action),   13172     sigaction(1, (struct sigaction  const  */* __restrict  */)(& action),
13167               (struct sigaction */* __restrict  */)((void *)0));   13173               (struct sigaction */* __restrict  */)((void *)0));
13168   } else {   13174   } else {
13169     13175  
13170   }   13176   }
13171   init_process_policies();   13177   init_process_policies();
13172   capture_opts_init(& global_capture_opts, (void *)0);   13178   capture_opts_init(& global_capture_opts, (void *)0);
13173   global_capture_opts.snaplen = 65535;   13179   global_capture_opts.snaplen = 65535;
13174   global_capture_opts.saving_to_file = 1;   13180   global_capture_opts.saving_to_file = 1;
13175   global_capture_opts.has_ring_num_files = 1;   13181   global_capture_opts.has_ring_num_files = 1;
13176   while (1) {   13182   while (1) {
13177     opt = getopt(argc, (char * const  *)argv, "a:b:B:c:dDf:ghi:ILMnpqSs:vw:y:Z:");   13183     opt = getopt(argc, (char * const  *)argv, "a:b:B:c:dDf:ghi:ILMnpqSs:vw:y:Z:");
13178     if (opt != -1) {   13184     if (opt != -1) {
13179     13185  
13180     } else {   13186     } else {
13181       break;   13187       break;
13182     }   13188     }
13183     switch (opt) {   13189     switch (opt) {
13184     case 104:   13190     case 104:
13185     print_usage(1);   13191     print_usage(1);
13186     exit_main(0);   13192     exit_main(0);
13187     break;   13193     break;
13188     case 118:   13194     case 118:
13189     comp_info_str = g_string_new("Compiled ");   13195     comp_info_str = g_string_new("Compiled ");
13190     get_compiled_version_info(comp_info_str, (void (*)(GString * ))((void *)0),   13196     get_compiled_version_info(comp_info_str, (void (*)(GString * ))((void *)0),
13191                               (void (*)(GString * ))((void *)0));   13197                               (void (*)(GString * ))((void *)0));
13192     runtime_info_str = g_string_new("Running ");   13198     runtime_info_str = g_string_new("Running ");
13193     get_runtime_version_info(runtime_info_str, (void (*)(GString * ))((void *)0));   13199     get_runtime_version_info(runtime_info_str, (void (*)(GString * ))((void *)0));
13194     show_version(comp_info_str, runtime_info_str);   13200     show_version(comp_info_str, runtime_info_str);
13195     g_string_free(comp_info_str, 1);   13201     g_string_free(comp_info_str, 1);
13196     g_string_free(runtime_info_str, 1);   13202     g_string_free(runtime_info_str, 1);
13197     exit_main(0);   13203     exit_main(0);
13198     break;   13204     break;
13199     case 73:   13205     case 73:
13200     case 66:   13206     case 66:
13201     case 121:   13207     case 121:
13202     case 103:   13208     case 103:
13203     case 119:   13209     case 119:
13204     case 115:   13210     case 115:
13205     case 112:   13211     case 112:
13206     case 110:   13212     case 110:
13207     case 105:   13213     case 105:
13208     case 102:   13214     case 102:
13209     case 99:   13215     case 99:
13210     case 98:   13216     case 98:
13211     case 97:   13217     case 97:
13212     status = capture_opts_add_opt(& global_capture_opts, opt,   13218     status = capture_opts_add_opt(& global_capture_opts, opt,
13213                                   (char const   *)optarg, & start_capture);   13219                                   (char const   *)optarg, & start_capture);
13214     if (status != 0) {   13220     if (status != 0) {
13215       exit_main(status);   13221       exit_main(status);
13216     } else {   13222     } else {
13217     13223  
13218     }   13224     }
13219     break;   13225     break;
13220     case 90:   13226     case 90:
13221     capture_child = 1;   13227     capture_child = 1;
13222     break;   13228     break;
13223     case 113:   13229     case 113:
13224     quiet = 1;   13230     quiet = 1;
13225     break;   13231     break;
13226     case 68:   13232     case 68:
13227     list_interfaces = 1;   13233     list_interfaces = 1;
13228     run_once_args ++;   13234     run_once_args ++;
13229     break;   13235     break;
13230     case 76:   13236     case 76:
13231     list_link_layer_types = 1;   13237     list_link_layer_types = 1;
13232     run_once_args ++;   13238     run_once_args ++;
13233     break;   13239     break;
13234     case 100:   13240     case 100:
13235     print_bpf_code = 1;   13241     print_bpf_code = 1;
13236     run_once_args ++;   13242     run_once_args ++;
13237     break;   13243     break;
13238     case 83:   13244     case 83:
13239     print_statistics = 1;   13245     print_statistics = 1;
13240     run_once_args ++;   13246     run_once_args ++;
13241     break;   13247     break;
13242     case 77:   13248     case 77:
13243     machine_readable = 1;   13249     machine_readable = 1;
13244     break;   13250     break;
13245     case 63:   13251     case 63:
13246     default:   13252     default:
13247     cmdarg_err("Invalid Option: %s", *(argv + (optind - 1)));   13253     cmdarg_err("Invalid Option: %s", *(argv + (optind - 1)));
13248     arg_error = 1;   13254     arg_error = 1;
13249     break;   13255     break;
13250     }   13256     }
13251   }   13257   }
13252   argc -= optind;   13258   argc -= optind;
13253   argv += optind;   13259   argv += optind;
13254   if (argc >= 1) {   13260   if (argc >= 1) {
13255     argc --;   13261     argc --;
13256     argv ++;   13262     argv ++;
13257   } else {   13263   } else {
13258     13264  
13259   }   13265   }
13260   if (argc != 0) {   13266   if (argc != 0) {
13261     cmdarg_err("Invalid argument: %s", *(argv + 0));   13267     cmdarg_err("Invalid argument: %s", *(argv + 0));
13262     arg_error = 1;   13268     arg_error = 1;
13263   } else {   13269   } else {
13264     13270  
13265   }   13271   }
13266   if (arg_error) {   13272   if (arg_error) {
13267     print_usage(0);   13273     print_usage(0);
13268     exit_main(1);   13274     exit_main(1);
13269   } else {   13275   } else {
13270     13276  
13271   }   13277   }
13272   if (run_once_args > 1) {   13278   if (run_once_args > 1) {
13273     cmdarg_err("Only one of -D, -L, or -S may be supplied.");   13279     cmdarg_err("Only one of -D, -L, or -S may be supplied.");
13274     exit_main(1);   13280     exit_main(1);
13275   } else   13281   } else
13276   if (run_once_args == 1) {   13282   if (run_once_args == 1) {
13277     if (global_capture_opts.multi_files_on) {   13283     if (global_capture_opts.multi_files_on) {
13278       cmdarg_err("Ring buffer requested, but a capture isn\'t being done.");   13284       cmdarg_err("Ring buffer requested, but a capture isn\'t being done.");
13279       exit_main(1);   13285       exit_main(1);
13280     } else {   13286     } else {
13281     13287  
13282     }   13288     }
13283   } else   13289   } else
13284   if (global_capture_opts.multi_files_on) {   13290   if (global_capture_opts.multi_files_on) {
13285     if ((unsigned int )global_capture_opts.save_file == (unsigned int )((void *)0)) {   13291     if ((unsigned int )global_capture_opts.save_file == (unsigned int )((void *)0)) {
13286       cmdarg_err("Ring buffer requested, but capture isn\'t being saved to a permanent file.");   13292       cmdarg_err("Ring buffer requested, but capture isn\'t being saved to a permanent file.");
13287       global_capture_opts.multi_files_on = 0;   13293       global_capture_opts.multi_files_on = 0;
13288     } else {   13294     } else {
13289     13295  
13290     }   13296     }
13291     if (! global_capture_opts.has_autostop_filesize) {   13297     if (! global_capture_opts.has_autostop_filesize) {
13292       if (! global_capture_opts.has_file_duration) {   13298       if (! global_capture_opts.has_file_duration) {
13293         cmdarg_err("Ring buffer requested, but no maximum capture file size or duration were specified.");   13299         cmdarg_err("Ring buffer requested, but no maximum capture file size or duration were specified.");
13294       } else {   13300       } else {
13295     13301  
13296       }   13302       }
13297     } else {   13303     } else {
13298     13304  
13299     }   13305     }
13300   } else {   13306   } else {
13301     13307  
13302   }   13308   }
13303   if (list_interfaces) {   13309   if (list_interfaces) {
13304     if_list = capture_interface_list(& err, & err_str);   13310     if_list = capture_interface_list(& err, & err_str);
13305     if ((unsigned int )if_list == (unsigned int )((void *)0)) {   13311     if ((unsigned int )if_list == (unsigned int )((void *)0)) {
13306       switch (err) {   13312       switch (err) {
13307       case 1:   13313       case 1:
13308       cmdarg_err("%s", err_str);   13314       cmdarg_err("%s", err_str);
13309       g_free((gpointer )err_str);   13315       g_free((gpointer )err_str);
13310       exit_main(2);   13316       exit_main(2);
13311       break;   13317       break;
13312       case 2:   13318       case 2:
13313       if (! machine_readable) {   13319       if (! machine_readable) {
13314         cmdarg_err("There are no interfaces on which a capture can be done");   13320         cmdarg_err("There are no interfaces on which a capture can be done");
13315         exit_main(2);   13321         exit_main(2);
13316       } else {   13322       } else {
13317     13323  
13318       }   13324       }
13319       break;   13325       break;
13320       }   13326       }
13321     } else {   13327     } else {
13322     13328  
13323     }   13329     }
13324     if (machine_readable) {   13330     if (machine_readable) {
13325       print_machine_readable_interfaces(if_list);   13331       print_machine_readable_interfaces(if_list);
13326     } else {   13332     } else {
13327       capture_opts_print_interfaces(if_list);   13333       capture_opts_print_interfaces(if_list);
13328     }   13334     }
13329     free_interface_list(if_list);   13335     free_interface_list(if_list);
13330     exit_main(0);   13336     exit_main(0);
13331   } else {   13337   } else {
13332     13338  
13333   }   13339   }
13334   if (print_statistics) {   13340   if (print_statistics) {
13335     status = print_statistics_loop(machine_readable);   13341     status = print_statistics_loop(machine_readable);
13336     exit_main(status);   13342     exit_main(status);
13337   } else {   13343   } else {
13338     13344  
13339   }   13345   }
13340   tmp___6 = capture_opts_trim_iface(& global_capture_opts,   13346   tmp___6 = capture_opts_trim_iface(& global_capture_opts,
13341                                     (char const   *)((void *)0));   13347                                     (char const   *)((void *)0));
13342   if (tmp___6 == 0) {   13348   if (tmp___6 == 0) {
13343     exit_main(1);   13349     exit_main(1);
13344   } else {   13350   } else {
13345     13351  
13346   }   13352   }
13347   j = (guint )0;   13353   j = (guint )0;
13348   while (j < (global_capture_opts.ifaces)->len) {   13354   while (j < (global_capture_opts.ifaces)->len) {
13349     interface_opts = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + j);   13355     interface_opts = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + j);
13350     g_log("CaptureChild", (GLogLevelFlags )128, "Interface: %s",   13356     g_log("CaptureChild", (GLogLevelFlags )128, "Interface: %s",
13351           interface_opts.name);   13357           interface_opts.name);
13352     j ++;   13358     j ++;
13353   }   13359   }
13354   if (list_link_layer_types) {   13360   if (list_link_layer_types) {
13355     i___0 = (guint )0;   13361     i___0 = (guint )0;
13356     while (i___0 < (global_capture_opts.ifaces)->len) {   13362     while (i___0 < (global_capture_opts.ifaces)->len) {
13357       interface_opts___0 = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + i___0);   13363       interface_opts___0 = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + i___0);
13358       caps = get_if_capabilities((char const   *)interface_opts___0.name,   13364       caps = get_if_capabilities((char const   *)interface_opts___0.name,
13359                                  interface_opts___0.monitor_mode, & err_str___0);   13365                                  interface_opts___0.monitor_mode, & err_str___0);
13360       if ((unsigned int )caps == (unsigned int )((void *)0)) {   13366       if ((unsigned int )caps == (unsigned int )((void *)0)) {
13361         cmdarg_err("The capabilities of the capture device \"%s\" could not be obtained (%s).\nPlease check to make sure you have sufficient permissions, and that\nyou have the proper interface or pipe specified.",   13367         cmdarg_err("The capabilities of the capture device \"%s\" could not be obtained (%s).\nPlease check to make sure you have sufficient permissions, and that\nyou have the proper interface or pipe specified.",
13362                    interface_opts___0.name, err_str___0);   13368                    interface_opts___0.name, err_str___0);
13363         g_free((gpointer )err_str___0);   13369         g_free((gpointer )err_str___0);
13364         exit_main(2);   13370         exit_main(2);
13365       } else {   13371       } else {
13366     13372  
13367       }   13373       }
13368       if ((unsigned int )caps->data_link_types == (unsigned int )((void *)0)) {   13374       if ((unsigned int )caps->data_link_types == (unsigned int )((void *)0)) {
13369         cmdarg_err("The capture device \"%s\" has no data link types.",   13375         cmdarg_err("The capture device \"%s\" has no data link types.",
13370                    interface_opts___0.name);   13376                    interface_opts___0.name);
13371         exit_main(2);   13377         exit_main(2);
13372       } else {   13378       } else {
13373     13379  
13374       }   13380       }
13375       if (machine_readable) {   13381       if (machine_readable) {
13376         print_machine_readable_if_capabilities(caps);   13382         print_machine_readable_if_capabilities(caps);
13377       } else {   13383       } else {
13378         capture_opts_print_if_capabilities(caps, interface_opts___0.name,   13384         capture_opts_print_if_capabilities(caps, interface_opts___0.name,
13379                                            interface_opts___0.monitor_mode);   13385                                            interface_opts___0.monitor_mode);
13380       }   13386       }
13381       free_if_capabilities(caps);   13387       free_if_capabilities(caps);
13382       i___0 ++;   13388       i___0 ++;
13383     }   13389     }
13384     exit_main(0);   13390     exit_main(0);
13385   } else {   13391   } else {
13386     13392  
13387   }   13393   }
13388   capture_opts_trim_snaplen(& global_capture_opts, 1);   13394   capture_opts_trim_snaplen(& global_capture_opts, 1);
13389   if (print_bpf_code) {   13395   if (print_bpf_code) {
13390     show_filter_code(& global_capture_opts);   13396     show_filter_code(& global_capture_opts);
13391     exit_main(0);   13397     exit_main(0);
13392   } else {   13398   } else {
13393     13399  
13394   }   13400   }
13395   capture_opts_trim_ring_num_files(& global_capture_opts);   13401   capture_opts_trim_ring_num_files(& global_capture_opts);
13396   tmp___7 = capture_loop_start(& global_capture_opts, & stats_known, & stats);   13402   tmp___7 = capture_loop_start(& global_capture_opts, & stats_known, & stats);
13397   if (tmp___7 == 1) {   13403   if (tmp___7 == 1) {
13398     exit_main(0);   13404     exit_main(0);
13399   } else {   13405   } else {
13400     exit_main(1);   13406     exit_main(1);
13401   }   13407   }
13402   return (0);   13408   return (0);
13403 }   13409 }
13404 }   13410 }
13405 static void console_log_handler(char const   *log_domain ,   13411 static void console_log_handler(char const   *log_domain ,
13406                                 GLogLevelFlags log_level ,   13412                                 GLogLevelFlags log_level ,
13407                                 char const   *message ,   13413                                 char const   *message ,
13408                                 gpointer user_data  __attribute__((__unused__)) )   13414                                 gpointer user_data  __attribute__((__unused__)) )
13409 {   13415 {
13410   time_t curr ;   13416   time_t curr ;
13411   struct tm *today ;   13417   struct tm *today ;
13412   char const   *level ;   13418   char const   *level ;
13413   gchar *msg ;   13419   gchar *msg ;
13414   char const   *tmp ;   13420   char const   *tmp ;
13415     13421  
13416   {   13422   {
13417   time(& curr);   13423   time(& curr);
13418   today = localtime((time_t const   *)(& curr));   13424   today = localtime((time_t const   *)(& curr));
13419   switch ((int )log_level & -4) {   13425   switch ((int )log_level & -4) {
13420   case 4:   13426   case 4:
13421   level = "Err ";   13427   level = "Err ";
13422   break;   13428   break;
13423   case 8:   13429   case 8:
13424   level = "Crit";   13430   level = "Crit";
13425   break;   13431   break;
13426   case 16:   13432   case 16:
13427   level = "Warn";   13433   level = "Warn";
13428   break;   13434   break;
13429   case 32:   13435   case 32:
13430   level = "Msg ";   13436   level = "Msg ";
13431   break;   13437   break;
13432   case 64:   13438   case 64:
13433   level = "Info";   13439   level = "Info";
13434   break;   13440   break;
13435   case 128:   13441   case 128:
13436   level = "Dbg ";   13442   level = "Dbg ";
13437   break;   13443   break;
13438   default:   13444   default:
13439   fprintf((FILE */* __restrict  */)stderr,   13445   fprintf((FILE */* __restrict  */)stderr,
13440           (char const   */* __restrict  */)"unknown log_level %u\n",   13446           (char const   */* __restrict  */)"unknown log_level %u\n",
13441           (int )log_level);   13447           (int )log_level);
13442   level = (char const   *)((void *)0);   13448   level = (char const   *)((void *)0);
13443   while (1) {   13449   while (1) {
13444     g_assertion_message((char const   *)((gchar *)0), "dumpcap.c", 4079,   13450     g_assertion_message((char const   *)((gchar *)0), "dumpcap.c", 4079,
13445                         "console_log_handler", (char const   *)((void *)0));   13451                         "console_log_handler", (char const   *)((void *)0));
13446     break;   13452     break;
13447   }   13453   }
13448   }   13454   }
13449   if ((int )log_level & 32) {   13455   if ((int )log_level & 32) {
13450     msg = g_strdup_printf("%s\n", message);   13456     msg = g_strdup_printf("%s\n", message);
13451   } else {   13457   } else {
13452     if ((unsigned int )log_domain != (unsigned int )((void *)0)) {   13458     if ((unsigned int )log_domain != (unsigned int )((void *)0)) {
13453       tmp = log_domain;   13459       tmp = log_domain;
13454     } else {   13460     } else {
13455       tmp = "";   13461       tmp = "";
13456     }   13462     }
13457     msg = g_strdup_printf("%02u:%02u:%02u %8s %s %s\n", today->tm_hour,   13463     msg = g_strdup_printf("%02u:%02u:%02u %8s %s %s\n", today->tm_hour,
13458                           today->tm_min, today->tm_sec, tmp, level, message);   13464                           today->tm_min, today->tm_sec, tmp, level, message);
13459   }   13465   }
13460   if (! (((int )log_level & -4) & -193)) {   13466   if (! (((int )log_level & -4) & -193)) {
13461     fprintf((FILE */* __restrict  */)stderr,   13467     fprintf((FILE */* __restrict  */)stderr,
13462             (char const   */* __restrict  */)"%s", msg);   13468             (char const   */* __restrict  */)"%s", msg);
13463     fflush(stderr);   13469     fflush(stderr);
13464     fprintf((FILE */* __restrict  */)debug_log,   13470     fprintf((FILE */* __restrict  */)debug_log,
13465             (char const   */* __restrict  */)"%s", msg);   13471             (char const   */* __restrict  */)"%s", msg);
13466     fflush(debug_log);   13472     fflush(debug_log);
13467     g_free((gpointer )msg);   13473     g_free((gpointer )msg);
13468     return;   13474     return;
13469   } else {   13475   } else {
13470     13476  
13471   }   13477   }
13472   if (capture_child) {   13478   if (capture_child) {
13473     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   13479     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
13474   } else {   13480   } else {
13475     fprintf((FILE */* __restrict  */)stderr,   13481     fprintf((FILE */* __restrict  */)stderr,
13476             (char const   */* __restrict  */)"%s", msg);   13482             (char const   */* __restrict  */)"%s", msg);
13477     fflush(stderr);   13483     fflush(stderr);
13478   }   13484   }
13479   g_free((gpointer )msg);   13485   g_free((gpointer )msg);
13480   return;   13486   return;
13481 }   13487 }
13482 }   13488 }
13483 static void report_packet_count(int packet_count ) ;   13489 static void report_packet_count(int packet_count ) ;
13484 static int count  =    0;   13490 static int count  =    0;
13485 static void report_packet_count(int packet_count )   13491 static void report_packet_count(int packet_count )
13486 {   13492 {
13487   char tmp[22] ;   13493   char tmp[22] ;
13488     13494  
13489   {   13495   {
13490   if (capture_child) {   13496   if (capture_child) {
13491     g_snprintf(tmp, (gulong )sizeof(tmp), "%d", packet_count);   13497     g_snprintf(tmp, (gulong )sizeof(tmp), "%d", packet_count);
13492     g_log("CaptureChild", (GLogLevelFlags )128, "Packets: %s", tmp);   13498     g_log("CaptureChild", (GLogLevelFlags )128, "Packets: %s", tmp);
13493     pipe_write_block(2, (char )'P', (char const   *)(tmp));   13499     pipe_write_block(2, (char )'P', (char const   *)(tmp));
13494   } else {   13500   } else {
13495     count += packet_count;   13501     count += packet_count;
13496     fprintf((FILE */* __restrict  */)stderr,   13502     fprintf((FILE */* __restrict  */)stderr,
13497             (char const   */* __restrict  */)"\rPackets: %u ", count);   13503             (char const   */* __restrict  */)"\rPackets: %u ", count);
13498     fflush(stderr);   13504     fflush(stderr);
13499   }   13505   }
13500   return;   13506   return;
13501 }   13507 }
13502 }   13508 }
13503 static void report_new_capture_file(char const   *filename )   13509 static void report_new_capture_file(char const   *filename )
13504 {   13510 {
13505     13511  
13506     13512  
13507   {   13513   {
13508   if (capture_child) {   13514   if (capture_child) {
13509     g_log("CaptureChild", (GLogLevelFlags )128, "File: %s", filename);   13515     g_log("CaptureChild", (GLogLevelFlags )128, "File: %s", filename);
13510     pipe_write_block(2, (char )'F', filename);   13516     pipe_write_block(2, (char )'F', filename);
13511   } else {   13517   } else {
13512     fprintf((FILE */* __restrict  */)stderr,   13518     fprintf((FILE */* __restrict  */)stderr,
13513             (char const   */* __restrict  */)"File: %s\n", filename);   13519             (char const   */* __restrict  */)"File: %s\n", filename);
13514     fflush(stderr);   13520     fflush(stderr);
13515   }   13521   }
13516   return;   13522   return;
13517 }   13523 }
13518 }   13524 }
13519 static void report_cfilter_error(char const   *cfilter , char const   *errmsg )   13525 static void report_cfilter_error(char const   *cfilter , char const   *errmsg )
13520 {   13526 {
13521     13527  
13522     13528  
13523   {   13529   {
13524   if (capture_child) {   13530   if (capture_child) {
13525     g_log("CaptureChild", (GLogLevelFlags )128, "Capture filter error: %s",   13531     g_log("CaptureChild", (GLogLevelFlags )128, "Capture filter error: %s",
13526           errmsg);   13532           errmsg);
13527     pipe_write_block(2, (char )'B', errmsg);   13533     pipe_write_block(2, (char )'B', errmsg);
13528   } else {   13534   } else {
13529     fprintf((FILE */* __restrict  */)stderr,   13535     fprintf((FILE */* __restrict  */)stderr,
13530             (char const   */* __restrict  */)"Invalid capture filter: \"%s\"!\n\nThat string isn\'t a valid capture filter (%s).\nSee the User\'s Guide for a description of the capture filter syntax.\n",   13536             (char const   */* __restrict  */)"Invalid capture filter: \"%s\"!\n\nThat string isn\'t a valid capture filter (%s).\nSee the User\'s Guide for a description of the capture filter syntax.\n",
13531             cfilter, errmsg);   13537             cfilter, errmsg);
13532   }   13538   }
13533   return;   13539   return;
13534 }   13540 }
13535 }   13541 }
13536 static void report_capture_error(char const   *error_msg ,   13542 static void report_capture_error(char const   *error_msg ,
13537                                  char const   *secondary_error_msg )   13543                                  char const   *secondary_error_msg )
13538 {   13544 {
13539     13545  
13540     13546  
13541   {   13547   {
13542   if (capture_child) {   13548   if (capture_child) {
13543     g_log("CaptureChild", (GLogLevelFlags )128, "Primary Error: %s", error_msg);   13549     g_log("CaptureChild", (GLogLevelFlags )128, "Primary Error: %s", error_msg);
13544     g_log("CaptureChild", (GLogLevelFlags )128, "Secondary Error: %s",   13550     g_log("CaptureChild", (GLogLevelFlags )128, "Secondary Error: %s",
13545           secondary_error_msg);   13551           secondary_error_msg);
13546     sync_pipe_errmsg_to_parent(2, error_msg, secondary_error_msg);   13552     sync_pipe_errmsg_to_parent(2, error_msg, secondary_error_msg);
13547   } else {   13553   } else {
13548     fprintf((FILE */* __restrict  */)stderr,   13554     fprintf((FILE */* __restrict  */)stderr,
13549             (char const   */* __restrict  */)"%s\n", error_msg);   13555             (char const   */* __restrict  */)"%s\n", error_msg);
13550     if ((int const   )*(secondary_error_msg + 0) != 0) {   13556     if ((int const   )*(secondary_error_msg + 0) != 0) {
13551       fprintf((FILE */* __restrict  */)stderr,   13557       fprintf((FILE */* __restrict  */)stderr,
13552               (char const   */* __restrict  */)"%s\n", secondary_error_msg);   13558               (char const   */* __restrict  */)"%s\n", secondary_error_msg);
13553     } else {   13559     } else {
13554     13560  
13555     }   13561     }
13556   }   13562   }
13557   return;   13563   return;
13558 }   13564 }
13559 }   13565 }
13560 static void report_packet_drops(guint32 received , guint32 drops , gchar *name )   13566 static void report_packet_drops(guint32 received , guint32 drops , gchar *name )
13561 {   13567 {
13562   char tmp1[22] ;   13568   char tmp1[22] ;
13563   char tmp2[22] ;   13569   char tmp2[22] ;
13564     13570  
13565   {   13571   {
13566   g_snprintf(tmp1, (gulong )sizeof(tmp1), "%u", received);   13572   g_snprintf(tmp1, (gulong )sizeof(tmp1), "%u", received);
13567   g_snprintf(tmp2, (gulong )sizeof(tmp2), "%u", drops);   13573   g_snprintf(tmp2, (gulong )sizeof(tmp2), "%u", drops);
13568   if (capture_child) {   13574   if (capture_child) {
13569     g_log("CaptureChild", (GLogLevelFlags )128,   13575     g_log("CaptureChild", (GLogLevelFlags )128,
13570           "Packets captured/dropped on interface %s: %s/%s", name, tmp1, tmp2);   13576           "Packets captured/dropped on interface %s: %s/%s", name, tmp1, tmp2);
13571     pipe_write_block(2, (char )'D', (char const   *)(tmp2));   13577     pipe_write_block(2, (char )'D', (char const   *)(tmp2));
13572   } else {   13578   } else {
13573     fprintf((FILE */* __restrict  */)stderr,   13579     fprintf((FILE */* __restrict  */)stderr,
13574             (char const   */* __restrict  */)"Packets captured/dropped on interface %s: %s/%s\n",   13580             (char const   */* __restrict  */)"Packets captured/dropped on interface %s: %s/%s\n",
13575             name, tmp1, tmp2);   13581             name, tmp1, tmp2);
13576     fflush(stderr);   13582     fflush(stderr);
13577   }   13583   }
13578   return;   13584   return;
13579 }   13585 }
13580 }   13586 }